Re: [OT] cron.d entries for Amanda
2004-11-16 14:01:49
"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
|
|
|