renaming many files

Linux for blind general discussion blinux-list at redhat.com
Sat Jan 23 06:58:48 UTC 2021


i disagree. that's not a small issue, it's a big issue.

everyone, please read the correction about the asterisk and quotes.

sorry for the blooper.

On Fri, Jan 22, 2021 at 15:46:02PM -0600, Linux for blind general discussion wrote:
> 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
> 




More information about the Blinux-list mailing list