![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
RE: RE: Odd file renameby t0mas (Priest) |
on Jun 14, 2000 at 18:02 UTC ( #18101=note: print w/replies, xml ) | Need Help?? |
Untested code coming...
Should rename all files containing a PGP line in the whole subdirectory tree. This is just a quick modify of something I already had, so it may contain bugs, etc... I'm not responsible for what it does to your system, no warraty, etc, etc. You know the standard phrases. UPDATE:As merlyn humbly suggests in his post, I now check for symlinks with && ! -l "$Dir/$_". The code is still untested from my part. /brother t0mas
In Section
Seekers of Perl Wisdom
|
|