Search Results

Search: Posts Made By: leveex
2,235
Posted By Don Cragun
I don't know how you end up trying to move files...
I don't know how you end up trying to move files with names ending in .mov when you're listing files with names ending in .mp4???

But, I'm guessing that this much simpler (and faster) version of...
2,235
Posted By Corona688
find /Volumes/xsan/ARHIVA/SNIMANJA/XDCAM_IN/...
find /Volumes/xsan/ARHIVA/SNIMANJA/XDCAM_IN/ -type f -printf "%CY/%Cm/%Cd\t%p\n" |
while read -r DATE FILE
do
mkdir -p /path/to/"$DATE"
echo mv "$FILE" /path/to/"$DATE"
done
...
2,235
Posted By PikK45
use $NF --> Last field of the processing line
use $NF --> Last field of the processing line
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 03:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy