Amanda-Users

Re: [OT] cron.d entries for Amanda

2004-11-16 14:01:49
Subject: Re: [OT] cron.d entries for Amanda
From: Kevin Dalley <kevin AT kelphead DOT org>
To: amanda-users AT amanda DOT org
Date: Tue, 16 Nov 2004 10:57:00 -0800
"Alexey I. Froloff" <raorn AT immo DOT ru> writes:

> * Gavin Henry <ghenry@> [041116 15:35]:
>> /bin/sh: line 1: /usr/bin/find /u01/app/oracle/archdest2/* -mtime +7 -exec
>> rm{}\;:
>> No such file or directory
>
> Er... I'm not sure this will ever work.  find() accepts one real
> (not shell pattrn) argument for PATH.  Furthermore, you may want
> to use something like this:

The standard find takes multiple directories for path.  The shell
pattern substitution in this case is done by your shell, in this case
/bin/sh. 

-- 
Kevin Dalley
kevin AT kelphead DOT org

<Prev in Thread] Current Thread [Next in Thread>