find(command)
-print0で、で最後に null文字を付加してくれる。
-printf で、format, 何を出力するかを調整できる。
-not -path <path> で除去対象
find . -mtime -1 --ls で1時間以内のもの
述語で絞り込み
-name, -type, -atime, -ctime, -depth, -group, -links, -mtime, -nogroup, -nouser, -perm, -print, -prune, -size, -user -xdev
prune
it's an action (like -print), not a test (like -name). It alters the "to-do" list, but always returns true.
You pretty much always want the -o (logical OR) immediately after -prune, because that first part of the test (up to and including -prune) will return false for the stuff you actually want (ie: the stuff you don't want to prune out).
.はエスケープいらないでよい。