I have a bunch of folders that contain upwards of 50,000 files and which are becoming unweildy to deal with. The files in each folder are sequentially named with a time and datestamp. I would like to use automator or applescript to do the following sorting action. Can someone help me with either some code or an example automator workflow? I would like to have a script that goes to a "parent folder" it then selects the first 1000 files based on sequential naming and then creates a folder in the parent folder named something like folder1 and then moves those first 1000 files into that folder, then the script selects the next 1000 files, creates a folder named folder2 in the parent folder and moves those 1000 files into that folder etc. etc. until all the files have been moved into new sequentially named folders. any help with this would be greatly appreciated!