|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re^3: File not found errorby aitap (Chaplain) |
| on Oct 11, 2012 at 15:44 UTC ( #998483=note: print w/ replies, xml ) | Need Help?? |
|
man find: So, first, move all your paths to search into before any expressions. Next, replace -exec rm -rf {} ; with -ls in order to debug your expression and make sure it finds only what you want to delete. Next, run and check that your command runs and returns expected results. Finally, move -exec rm -rf {} ; back in its place. You can also use find2perl to make a Perl program from find expression or start manually using File::Find instead.
Sorry if my advice was wrong.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||