find 自己的例子
时间:2007-07-24 来源:nixer2007
find -printf "%A@ %C@ %T@ " -ls > /tmp/myf_sub.out
find . -name core -exec /bin/rm {} \;
find /tmp -type f -mtime +100 -exec rm {} \; find ,默认是按照按名称递归搜索文件夹文件名的顺序排列的. question(2007-7-25) 1:
find . -name core -exec /bin/rm {} \;
find /tmp -type f -mtime +100 -exec rm {} \; find ,默认是按照按名称递归搜索文件夹文件名的顺序排列的. question(2007-7-25) 1:
find -name file1 -o -name file2 -o -name file3 -o -name file4 -o -name file5 |
the output is correct, list all 5 files, but when
find -name file1 -o -name file2 -o -name file3 -o -name file4 -o -name file5 -exec rm {} \; |
only delete the 5th file, why.
相关阅读 更多 +