[X-Unix] script question (cron - adobefnt*.lst)
Juan Manuel Palacios
jmpalaciosp at eml.cc
Fri Jan 9 14:20:31 PST 2004
On Jan 9, 2004, at 1:45 PM, Don Montalvo wrote:
> how's this for a cron job (i removed all double quotes and kept the
> backslash near the end...mixed the two original examples):
>
> find / -name 'AdobeFnt*.lst" -exec rm -f {} \;
>
> wow...never knew the decision to use single or double quotes had such
> a huge impact on shell scripts!
>
> :)
> don
I think you're forgetting to remove the last double quote on your
example command. And besides, I stand corrected by this list with
regard to the single/double quote issue! And don't forget the -x if you
don't want find(1) to descend into other volumes.
Hope that helps. Regards,...
Juan
More information about the X-Unix
mailing list