Just another Perl shrine | |
PerlMonks |
Re: Re: Re: Search & Replace in subdirectory filesby bassplayer (Monsignor) |
on Apr 23, 2004 at 16:05 UTC ( [id://347667]=note: print w/replies, xml ) | Need Help?? |
Not necessarily. File::Find is the solution I would use if the script is to be run regularly. However, with a one time change, I would still use the command line. It's just so easy. If I have five levels to recurse, I run it five times. Granted, if there is an unknown level of subdiectories, then a folder could be missed, but this one-liner has served me well and I just thought I'd share it. TIMTOWTDI, right? I guess I should have explained that in previous reply. bassplayer
In Section
Seekers of Perl Wisdom
|
|