Re: renaming many files

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

 



On January 22, 2021, Linux for blind general discussion wrote:
>    rename -v -n 's/^renewal talk //' "renewal talk *"

One small issue here...you will likely need the asterisk outside the
quotes:

  rename -v -n 's/^renewal talk //' "renewal talk "*

otherwise, this is my favorite solution for doing such renames.

If you use bash as your shell, you can even use the caret notation to
remove the -n when you're ready to run

  $ ^-n

-tim


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




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