Search Results

Search: Posts Made By: leveex
2,239
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,239
Posted By PikK45
use $NF --> Last field of the processing line
use $NF --> Last field of the processing line
2,239
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
...
Showing results 1 to 3 of 3

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