Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: Rename all files on remote server to *.bak recursivelyby nancylt723 (Initiate) |
on Jun 06, 2014 at 12:05 UTC ( [id://1089014]=note: print w/replies, xml ) | Need Help?? |
Thanks for the suggestion. Here is the resulting command, but it did not rename the files:
cmd is perl -ne 'chomp;$n=$_.q^.bak^;rename($_,$n)'
In Section
Seekers of Perl Wisdom
|
|