find
・カレントディレクトリ以下の最後にアクセスした時間(atime)が最近1日以内のファイルを全て表示する。
find ./ -atime -1
・カレントディレクトリ以下のファイル中、サイズが0バイトであるものを削除する。
find . -size 0c -exec rm {} \;
・カレントディレクトリ以下のファイル中、xyz以降に修正されたファイルを削除する(xyz以降であるからxyz自体は削除されない)。
find . -newer filename -exec rm {} \;
・カレントディレクトリ以下のファイル中、指定されたファイルを検索する。
find . -name filename -print;
・カレントディレクトリ以下のファイル中、階層ファイルでファイル内文字列検索する。
find . -type f -name "*" -print |xargs grep "";
find . -xdev -type f \( -mtime 0 -or -mtime 1 \) -exec cp -aPv "{}"
find . -name "*" -exec grep -in xxxxxx {} \;