On Oct 16, 2008, at 4:29 AM, sunnyfr wrote:
still nothing changed :
It looks like it worked better to me, in that it resulted in a valid
find command for any snapshots with an -mtime of +1:
++ find /data/solr/video/data -maxdepth 1 -name 'snapshot.*' -mtime +1
-print
instead of showing an error like before:
++ find /data/solr/video/data -maxdepth 1 -name 'snapshot.*' -mtime
+-1 -print
find: invalid argument `+-1' to `-mtime'
But it didn't find any snapshots to remove. Do you have any
snapshots that haven't been modified in 2+ days? Due to the way find -
mtime works (looking at the modification day, and ignoring fractions
of days), for a snapshot to match, it would have to not have been
modified for a couple days.
-Chris