Re: regex help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx> 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@xxxxxxxxxx
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.)

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list




[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]