foreach $file (split (/\n/, `find .`)) {
$newFile = $file;
$newFile =~ s/foo/bar/;
rename ($file,$newFile)
}
In reply to RE: How do I recursively process files through directories
by thowland
in thread How do I recursively process files through directories
by paco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |