rrrrr has asked for the wisdom of the Perl Monks concerning the following question:
i tried the below code
#!/usr/bin/perl use warnings; use strict; my $wkDir; $wkDir ="/D/ARCHIVE/BIOS/PRTFILES"; system("find . -mtime +20 -type d \"${wkDir}\" -exec rm -rf {} \\;");
Its showing the below error.
/D/ARCHIVE/BIOS/PRTFILES Access denied - . File not found - -MTIME File not found - +20 File not found - -TYPE File not found - D File not found - -EXEC File not found - RM File not found - -RF File not found - {} File not found - \;Can anyone help to solve this error?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: File not found error
by aitap (Curate) on Oct 10, 2012 at 17:08 UTC | |
by rrrrr (Novice) on Oct 11, 2012 at 05:00 UTC | |
by aitap (Curate) on Oct 11, 2012 at 15:44 UTC | |
Re: File not found error
by Anonymous Monk on Oct 10, 2012 at 16:53 UTC |
Back to
Seekers of Perl Wisdom