Filter (12) for blank file types?

Would you like Bulk Rename Utility to offer new functionality? Post your comments here!

Filter (12) for blank file types?

Postby TheGhost78 » Sun Jul 21, 2024 6:17 pm

Is there a way to filter for files with no extension?
TheGhost78
 
Posts: 48
Joined: Fri Jul 19, 2024 11:25 am

Re: Filter (12) for blank file types?

Postby TheGhost78 » Mon Jul 22, 2024 12:50 am

For example, when downloading images from Twitter they save without a file extension, so I fix them all to .jpg. At the moment, I have a really long filter excluding all known file types, then apply the fix.
TheGhost78
 
Posts: 48
Joined: Fri Jul 19, 2024 11:25 am

Filter(12) Mask for names without any extension

Postby Luuk » Mon Jul 22, 2024 1:05 am

Filters(12) would need a checkmark for "Regex" and without the checkmark for "Folders".
Then a "Mask" like ^([^.]+|.*\.)$ could show any names with no-dots or dots at the very-end.
BRU cannot rename any files ending with a dot, but they can be removed on the command-line.
Luuk
 
Posts: 771
Joined: Fri Feb 21, 2020 10:58 pm

Re: Filter (12) for blank file types?

Postby TheGhost78 » Mon Jul 22, 2024 2:12 am

I've just realised... you can do it like this:
* !*.*
No need to exclude each file type individually!
TheGhost78
 
Posts: 48
Joined: Fri Jul 19, 2024 11:25 am


Return to Suggestions