Create Folder according to file names
Work required: I have a single folder (let's call it Root) that contains a lot of files (note there are only files, no subfolders under Root). I want to make a workflow that will create a separate folder within Root based on each file's filename and the respective files will be moved into this folder (note just the filename, no extension.)
Example: Say I have 2 files in Root right now - ABC.zip and XYZ.avi. After I run Root through the workflow, 2 folders will be created within Root, called ABC and XYZ, containing ABC.zip and XYZ in each folder, respectively. There will be no more files within Root but subfolders.
I tried a few times but not sure how I can get the filename of each file and create a folder accordingly. Thanks for the help!!
Macbook Pro 2.8GHz, 4G ram, Mac OS X (10.6.2)