If not present add "scan" to the beginning of file name

Bulk Rename Utility How-To's

If not present add "scan" to the beginning of file name

Postby pd2 » Fri Feb 05, 2021 3:23 pm

I did a search for this but couldn't see anything with the "else" bit.
Been using Bulk Rename Utility for some time so I am familiar with many functions.
I have a bunch of photos which have been scanned and most but not all of them have "scan" in the name.
How can I search for "scan" anywhere in the file name and if it is not found add "scan" to the beginning of the file name?
It's probably very simple but...
Thanks
pd2
 
Posts: 2
Joined: Fri Feb 05, 2021 3:17 pm

Re: If, Then, Else

Postby Luuk » Fri Feb 05, 2021 4:23 pm

Im not completely understanding, but this to list only files without "scan" using the "Mask" inside Filters(12)...
Code: Select all
*  !*scan*
Then to click the blue arrows by "Mask" to destroy all the files with "scan", so then just using Add(7) with Prefix?
Luuk
 
Posts: 692
Joined: Fri Feb 21, 2020 10:58 pm

Re: If, Then, Else

Postby pd2 » Fri Feb 05, 2021 4:48 pm

Thanks! I knew it would be simple but I just had a mental block. Old age!
pd2
 
Posts: 2
Joined: Fri Feb 05, 2021 3:17 pm


Return to How-To