note the -type instead of --type which is written in README, if i use
–type i get wrong parameter, man pages of find point to -type not
–type (typo in README, or slackware difference, tho i doubt)!
I get crontab errors for -exec anyone has an idea?
cron: find /opt/rt2/WebRT/sessiondata -type f -amin +600 -exec rm {};
find: missing argument to `-exec’
| cron: find /opt/rt2/WebRT/sessiondata -type f -amin +600 -exec rm {};
| find: missing argument to `-exec’
±–>8
You need a space before the semicolon, and you need to quote the baces to
keep bash from performing brace expansion of an empty list. (“-exec rm
‘{}’ ‘;’”)
brandon s. allbery [os/2][linux][solaris][freebsd] allbery@kf8nh.apk.net
system administrator [JAPH][WAY too many hats] allbery@ece.cmu.edu
electrical and computer engineering KF8NH
carnegie mellon university [linux: proof of the million monkeys theory]