regex help

Linux for blind general discussion blinux-list at redhat.com
Wed Feb 9 14:40:17 UTC 2022


Try Thunar. It has a bulk renamer tool that can do just that. You 
simply
choose its Search and Replace option and tick on REGEX to 
accomplish
what you are looking for.

Cheers,


On Wed, Feb  9, 2022 at 06:38  Linux for blind general discussion 
<blinux-list at redhat.com> wrote:
> I want to create a regex that will look for single letters 
> followed by a dot. This is for porpoises of file renaming. For 
> example.
> J. S. Smith - Become an Evil Dictator- A Step by Step Guide.txt
> Arthur A. C. Johnson - How to Win Minions and Overthrow 
> Governments.txt
>
> The regex should look for and remove the dots. So the file names 
> end up being:
> J S Smith - Become an Evil Dictator- A Step by Step Guide.txt
> Arthur A C Johnson - How to Win Minions and Overthrow 
> Governments.txt
>
> Is it possible to craft a regex to just find all single letters,
> followed by a dot? What file renamer is the best one to use for 
> this?
> The one I currently use is brename
> https://github.com/shenwei356/brename
> but if there is a better tool, would love to know it.
> Thanks.
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list


-- 
Good people do not need laws to tell them to act responsibly, 
while bad people will find a way around the laws.
- Plato (427-347 B.C.)




More information about the Blinux-list mailing list