by r0tt3nnn » Tue May 28, 2024 11:56 pm
13 years late to the party, but wanted to add my $0.02 - not sure if BRU has added features, or maybe they were there all along, but I just found a way to use BRU to create a new folder for each file and move it into that folder. Here are the steps for doing that with these example file names:
Movie Name1 (2019)#Details Details.mkv
Movie Name2 (2020)#Details Details.mkv
Movie Name3 (2024)#Details Details.mkv
Step 0: Navigate to the folder where your files are, and select all the ones that apply
Step 1: Go to the Renaming Options Menu -> Advanced Options sub-menu -> Click 'Allow using \ in Renaming Criteria for creation of New Folders'
Step 2: In the RegEx section, put a check in the `v2' box (below the fields), for the Match field put something like this... (.*)# ...bit of explanation - the brackets mean 'capture group", and the # is the delineating character that tells the capture group where to stop, but could be any pattern (in my case, the files are all movies, so I want the name and year at the filename's beginning to be used for the folder name, but not the rest of the filename that follows that pattern), and in the Replace field, put... $1\\$1 ...yes, double slash! (not sure why that's needed, took trial and error to figure it out, and that's the only way I could get the $1 variable to work twice.)
Step 3: Hit the big Rename button, and it'll ask you for permission to create all the folders, and then it'll create the necessary folder and move the file there, looking like this:
Movie Name1 (2019)\Movie Name1 (2019)#Details Details.mkv
Movie Name2 (2020)\Movie Name2 (2020)#Details Details.mkv
Movie Name3 (2024)\Movie Name3 (2024)#Details Details.mkv
Hope that helps!