Ignore specific file types

Post any Bulk Rename Command support requirements here. Open to all registered users.

Ignore specific file types

Postby zteknology » Fri Sep 14, 2018 4:46 am

Hi all. I'm new to this utility. I am trying to use it because I found a bunch of old documents on an old computer that are mostly word perfect 5.1 documents. These don't have file extensions. But these documents have a few PDFs and .doc files mixed in. Is there a way to exclude the program from "adding the .wpd" extension by entering the .doc and .pdf extensions to be ignored? Hope that makes sense. In the meantime I've been going folder by folder manually, but i have a few hundred directories and I would love a way around that
zteknology
 
Posts: 1
Joined: Fri Sep 14, 2018 4:42 am

Re: Ignore specific file types

Postby bru » Thu Mar 07, 2019 9:17 pm

Sorry, but there is no way to filter filenames by extension.
IF you just need to give your no-extension files an extension, you could use something like:

brc32 /ignorefilex /regexp:"^([^\.]*)$:\1.NewExtension"

That would leave any filenames alone that already had an extension
bru
 
Posts: 62
Joined: Wed Jan 31, 2018 7:35 pm


Return to BRC Support