find probleme
Pierre Bernhardt
pierre at starcumulus.owl.de
Sat Oct 11 05:44:50 CEST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Maik Holtkamp schrieb:
| Hi,
|
| ---cut---
| /mnt/ieee/work/rsync.log_031001
| syl work(0) # head -n 2 /usr/local/sbin/syncwork.sh
| #!/bin/sh
| find /mnt/ieee/work -ctime +7 -name 'rsync.log*' exec rm {} \; || {
~ ^ ^
Tausch mal die ' gegen " aus. Dein * wird wohl im ' ' nicht aufgelöst.
| syl work(0) # syncwork.sh
| find: paths must precede expression
| Usage: find [path...] [expression]
| Konnte alte logs nicht loeschen
| Wieso geht das nicht?
MfG...
Pierre
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/h3yvuOJP+ESj7AoRAt6/AJ0UwEltmqO/ZzhxwC9/o4JxNEkrgQCfXPxy
VwFU8Afu9jThU8mwS1UXo1U=
=0vHi
-----END PGP SIGNATURE-----
More information about the Linux
mailing list