1

find command error

view story
linux-howto

http://www.unix.com – Hi, We have a shell script which looks into a directroy for any folder older than 30 days and removes them. The command being used is Code: find $ARCHIVE_DIR -type d -mtime +$PURGE_HIST_DAYS -exec rm -rf {} \; It removes some folders but then throw below errors for others: Code: find: /invoice/archive/20120826/50161101: No such file or directory find: /invoice/archive/20120826/50162736: No such file or directory find: /invoice/archive/20120826/50164716: No such file or directory find: /invoice/archive/20120826/50165042: No such file or directory Why it is able to find and remove (HowTos)