Re: regexp for rename command - please help!
On Sat, 20 Feb 2010 15:44:29 +0100, Vadkan Jozsef wrote:
> The filename, that i want to rename:
>
> ---vol.-01-disk-cantatas-bwv-3;
(...)
> What is the regexp to get this filename?:
>
> vol-01-disk-cantatas-bwv-3
After some attemps (:-P)...
***
sm01@stt008:~/Desktop$ rename -n "s/---vol./vol/" $HOME/Desktop/---vol.-01-disk-cantatas-bwv-3
/home/sm01/Desktop/---vol.-01-disk-cantatas-bwv-3 renamed as /home/sm01/Desktop/vol-01-disk-cantatas-bwv-3
***
Greetings,
--
Camaleón
Reply to: