Move mutiple files to multiple folders based on file names

If this has already been addressed elsewhere, then excuse this post.

I came across a button that creates new folders off the filenames, and moves the files to the corresponding folders. However, this operation would be carried out on all the files in a folder, and not just the selected files.

This creates folders off the selected filenames, and copies each file to the corresponding folder:

Copy HERE FILE="{file}" CREATEFOLDER="{file|noext}"

Example: If the files A.aac, B.bat, and C.cmd are selected, the above line will create folders A, B, and C, and copy A.aac to A, B.bat to B, and C.cmd to C.

To move instead of copy:

Copy MOVE HERE FILE="{file}" CREATEFOLDER="{file|noext}"

1 Like