#
 ・指定した日時以降に編集したファイルの検索
 	ct find . -ver 'created_since(22-Sep-95.00:00:00)' -print
 				      ~~ ~~~ ~~ ~~ ~~ ~~
 				      日  月 年 時 分 秒
 
 ・ブランチに属するファイルの検索
 	ct find . -branch 'brtype(BRANCH_NAME)' -print
 
 ・サイズが小さいオブジェクトファイルを検索
 find /vobs/libs -name "*.o" \( -size 0 -o -size 1 \) -print

 
 find . -empty
 
 find / \( -name a.out -o -name '*.o' \) -atime +7 -exec rm {} \;
 
 find . -mtime -7 -exec ls -l {} \;
 
 ・1998年11月の 1MB 以上のファイル検索
 perl -e 'open(F,"find . -print|");\
 while(<F>){\
 	chop;\
 	$size=(stat($_))[7];\
 	$time=(stat($_))[9];\
 	($sec, $min, $hour, $mday, $mon, $year, $wday) = localtime($time);\
 	$year += 1900;\
 	$mon += 1;\
 	next if($year != 1998 || $mon != 11 || $size < 1024000);\
 	printf("%02d:%02d:%02d %10d\t%s\n", $year, $mon, $mday, $size, $_);\
 };\
 close(F)'

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS