News for hackers. Stuff that matters.
Re:Find is a beautiful tool by ars on Sunday July 24, 2011 @09:47PM (#2800964)
That's going to fail if you have a file with a newline in it.

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.

There are no comments on this comment yet.