[Israel.pm] multi move script

Kfir Lavi kfirlavi at actcom.co.il
Sun Aug 22 13:43:10 PDT 2004


Mikhael Goikhman wrote:
> On 22 Aug 2004 20:12:28 +0300, Shlomi Bakish wrote:
> 
>>Does anyone have or know of a script that enables doing mv with 
>>wildcards  in unix (similar to dos move) ?
>>
>>mv    try_*.txt    work_*.txt
> 
> 
> Execute:
> 
>   rename try work try_*.txt
> 
It didn't work for me, but this does:
rename 's/try/work/' try_*.txt

kfir



More information about the Perl mailing list