And what are you going to do when you want to find all files modified more then 32 hours ago?
-delete is necessary because otherwise there is a race condition which can allow a regular user to make root delete any file.
See: http://news.ycombinator.com/item?id=2699050
You should not use -exec, you should use -execdir, -exec is not safe.
And what are you going to do when you want to find all files modified more then 32 hours ago?
-delete is necessary because otherwise there is a race condition which can allow a regular user to make root delete any file.
See: http://news.ycombinator.com/item?id=2699050
You should not use -exec, you should use -execdir, -exec is not safe.