Re: Wrapping Unix Command into Perl

2003-12-12 Thread John W. Krahn
Anthony J Segelhorst wrote: > > I am trying to wrap the following Unix command into perl and having a few > issues: > > find /var/spool/Tivoli/backups -name "DB_*" -mtime +10 -print -exec ls {} > \; > > I have tried (and nothing to seems to work): > > $temp = `find /var/spool/Tivoli/backups -na

Re: Wrapping Unix Command into Perl /correction

2003-12-12 Thread Jeff Westman
--- Jeff Westman <[EMAIL PROTECTED]> wrote: > Anthony J Segelhorst <[EMAIL PROTECTED]> wrote: > > Anthony J Segelhorst <[EMAIL PROTECTED]> wrote: > > > > > I am trying to wrap the following Unix command into perl and having a > > few > > > issues: > > > > > > find /var/spool/Tivoli/backups -na

Re: Wrapping Unix Command into Perl

2003-12-12 Thread Jeff Westman
Anthony J Segelhorst <[EMAIL PROTECTED]> wrote: > Anthony J Segelhorst <[EMAIL PROTECTED]> wrote: > > > I am trying to wrap the following Unix command into perl and having a > few > > issues: > > > > find /var/spool/Tivoli/backups -name "DB_*" -mtime +10 -print -exec ls > {} \; > > > > > > I

Re: Wrapping Unix Command into Perl

2003-12-12 Thread Wiggins d Anconia
> > Anthony J Segelhorst <[EMAIL PROTECTED]> wrote: > > > I am trying to wrap the following Unix command into perl and having a > few > > issues: > > > > find /var/spool/Tivoli/backups -name "DB_*" -mtime +10 -print -exec ls > {} \; > > > > > > I have tried (and nothing to seems to work):

Re: Wrapping Unix Command into Perl

2003-12-12 Thread Anthony J Segelhorst
) 1. I am using {} and not () 2. Eventually I want to use this command to a remove rm, but I was testing with an ls. Anthony J Segelhorst Enterprise Systems Management Team Phone: 937-495-1876 Email: [EMAIL PROTECTED] Jeff Westman <[EMAIL PROTECTED]> 12/12/2003 03:58 PM To:

Re: Wrapping Unix Command into Perl

2003-12-12 Thread Jeff Westman
Anthony J Segelhorst <[EMAIL PROTECTED]> wrote: > I am trying to wrap the following Unix command into perl and having a few > issues: > > find /var/spool/Tivoli/backups -name "DB_*" -mtime +10 -print -exec ls {} > \; > > > I have tried (and nothing to seems to work): > > $temp = `find /var/s