Create subfolder and Move All Files

Bulk Rename Utility How-To's

Create subfolder and Move All Files

Postby swingking03 » Thu Nov 17, 2022 7:25 pm

For a large set of folders, I would like to create new subfolders and move the files into that new subfolder

Example:
Artist1 Folder contains files songA, songB, songC
Artist2 Folder contains files songD, songE, songF
Artist3 Folder contains files songG, songH, songI

Desired Outcome:
Artist1\Songs\files songA, songB, songC
Artist2\Songs\files songD, songE, songF
Artist3\Songs\files songG, songH, songI

The new subfolders will all be titled Songs
swingking03
 
Posts: 8
Joined: Thu May 12, 2022 2:22 am

Create subfolder and Move All Files

Postby Luuk » Thu Nov 17, 2022 8:56 pm

This does depends on your filenames, and also what should be the final \Artist\Path\To\Your\NewNames.ext.
If the example is correct, you just need to make some folders named Songs, and not change any filenames.

So first to put a checkmark inside for "Renaming Options, Advanced Options, Allow using \ in Renaming Criteria".
Then Add(7) could use a "Prefix" like Songs\ to invent this subfolder 1-level under the Artist folder.

With the paid version, Filters(12) can exclude files already inside of \Songs\ with a "Condition" like... !/\\Songs\\$/.test(object('folder'))
This to prevent inventing any paths like Artist\Songs\Songs, otherwise Im just sorting by 'Sub Dir.' and being careful with the selections.
Luuk
 
Posts: 706
Joined: Fri Feb 21, 2020 10:58 pm

Re: Create subfolder and Move All Files

Postby swingking03 » Thu Nov 17, 2022 10:02 pm

Adding \Songs as the suffix seems to create the new subfolder at the current level and moving the artist folder beneath that (so Artist is below Songs). And, this does not move the files.

I am trying to move all files as is with no renaming. Curently, all songs are within a folder with the name of the artist. Within each artist folder, I want to create a new folder simply called, songs, and all songs within each artist folder are moved into the new Songs folder.

Desired output
Artist1\Songs\songA.mp3
Artist2\Songs\SongC.mp3
swingking03
 
Posts: 8
Joined: Thu May 12, 2022 2:22 am

Create subfolder and Move All Files

Postby Luuk » Fri Nov 18, 2022 12:40 am

Yes, this what Im guessing the 1st-time, so those settings (Prefix) will move the files like...
Artist1\songA.mp4 ---> Artist1\Songs\songA.mp4
Artist2\songD.mp4 ---> Artist2\Songs\songD.mp4
Artist3\songG.mp4 ---> Artist3\Songs\songG.mp4
Luuk
 
Posts: 706
Joined: Fri Feb 21, 2020 10:58 pm

Re: Create subfolder and Move All Files

Postby swingking03 » Fri Nov 18, 2022 3:41 am

Perfect, I finally understood what you instructed. Thanks you!
swingking03
 
Posts: 8
Joined: Thu May 12, 2022 2:22 am


Return to How-To


cron