Page 1 of 1

Files taking names after subfolders + mass delete

PostPosted: Mon Aug 22, 2016 8:15 am
by BRUtal
Hello.

Would anyone be that kind and answer these 2 questions?

I. I have lots of movies in subfolders in which there are my movies (X:/Movies). Every subfolder in Movie folders contains one file (the movie itself). I would love to use BRU to name every movie file as folder name. So it would look like: X:/Movies/Love actualy/MOV1.mkv -> X:/Movies/Love actualy/Love actualy.mkv

II. There are many artifact folders and files from my old system. Is there any chance to mass delete? Maybe something like scan the whole directory and delete all files named e.g. K100X or OldSetup.exe?


Thanks a lot

Re: Files taking names after subfolders + mass delete

PostPosted: Mon Aug 22, 2016 12:36 pm
by therube
I. start with

9:Append Folder Name
Prefix
Level:1
Separator:{space} (perhaps might do OK?)

---

Then after that, rename using:

5:Remove
Crop:After {space}

or

1:Regex

Match: (.*)\s
Replace: \1
---

That assumes you don't have a space in the parent directory name.
If you do or could, might want to change the separator character in 9: to something a bit more unique.
5: could end up leaving a trailing space?

---

Make a copy of a few directories, & experiment - carefully.

Re: Files taking names after subfolders + mass delete

PostPosted: Mon Aug 22, 2016 12:38 pm
by therube
II. There is nothing better then Everything (1.4.0.713b Beta) for finding files.