I'm trying to archive some older files, but don't want to touch all the files which are currently in use. What's the best way to ask find
to exclude "in use" files?
Right now I'm working on this command, but I'm asking if there's something better (my find
expression is slightly more complicated, but take it as an example)
find /tmp/ -type f \( -exec fuser -s {} \; -o -print \)