I have a directory with thousands of files and subfolders in it. I'd like to have a script/automator process that will parse the directory and its subfolders.
What I'd like to do is have the script move the files to an appropriate directory based on file creation date.
For example, if I have a file named DCF00213.cr2 created on June 2, 2008 (06-02-08) I'd like the file to be moved to a directory 2008 -> 06 - June (06-June is a subdirectory within 2008). It does not need to create the directory, just move it to the appropriate location. So if another file in the directory was created on Feb 1, 2004 it would move it to 2004 -> 02 - Feb.
Ideally I'd put a limit that this can only be performed on files with .cr2 or .jpg extensions.
Thank you so much... I have basic scripting knowledge, and after combing the forums of this and other sites, I don't seem to be able to find a script like this.
I hope this makes sense, and thank you again!
What I'd like to do is have the script move the files to an appropriate directory based on file creation date.
For example, if I have a file named DCF00213.cr2 created on June 2, 2008 (06-02-08) I'd like the file to be moved to a directory 2008 -> 06 - June (06-June is a subdirectory within 2008). It does not need to create the directory, just move it to the appropriate location. So if another file in the directory was created on Feb 1, 2004 it would move it to 2004 -> 02 - Feb.
Ideally I'd put a limit that this can only be performed on files with .cr2 or .jpg extensions.
Thank you so much... I have basic scripting knowledge, and after combing the forums of this and other sites, I don't seem to be able to find a script like this.
I hope this makes sense, and thank you again!