I have files in the format YYYY_MM_DD_HH:MM:SS.swf
that dump into a folder /home/user/dump/
I want to move these files into a new directory tree /home/user/save/year/month/day/
based on the YYYY_MM_DD
from the filename. Alternatively, if these can be modified by the file modification date, that is acceptable as well. I've found a couple other scripts on here, but they don't seem to have all the info I'm looking for.
Best Answer