Probably not the best way (2 foos), but it works.perl -we '/(.*)\./&&rename"$1.foo","$1.bar"for<*.foo>'
Hope this helps,,,
Aziz,,,
In reply to Re: changing file extensions
by abstracts
in thread changing file extensions
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |