- Milleruse File::Find; my $dir = 'C:\Documents and Settings'; my $from = 'abc.lnk'; my $to = 'def.lnk'; find(sub { if ($_ eq $from) { print "$File::Find::name -> $to\n"; rename($_, $to); } }, $dir);
In reply to Re: find instances of a file without knowing specific path
by wind
in thread find instances of a file without knowing specific path
by AngusScrimm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |