To make it a one-liner - providing your source file names are in the file source.dat
perl -pi.bak -e 's/input01/output61/' source.dat
This assumes that the file names in source.dat are stored
one per line. And a backupfile source.dat.bak is created with the original version of source.dat
-- Hofmator
In reply to Re: Reformating pathname
by Hofmator
in thread Reformating pathname
by raj8
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |