rrrrr has asked for the wisdom of the Perl Monks concerning the following question:
. How to run the unix find command from window server using perl script. below is my command.
Since window has sep syntax its nt recognising my unix command. Kindly help me.#!/usr/bin/perl use warnings; use strict; my $wkDir; $wkDir ="/D/ARCHIVE/BIOS/PRTFILES"; system("find . -mtime +20 -type d \"${wkDir}\" -exec rm -rf {} \\;");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: run the find command in perl script from window server
by thomas895 (Deacon) on Oct 15, 2012 at 05:11 UTC | |
|
Re: run the find command in perl script from window server
by kcott (Archbishop) on Oct 15, 2012 at 05:12 UTC | |
|
Re: run the find command in perl script from window server
by blue_cowdawg (Monsignor) on Oct 15, 2012 at 17:22 UTC | |
|
Re: run the find command in perl script from window server
by aitap (Curate) on Oct 15, 2012 at 17:36 UTC |