查找出系统中大于50k 且小于100k 的文件并删除。

 

[root@xusx xxx]# ll -lh
total 624K
-rw-r--r-- 1 root root 576K Nov 30 21:39 1.txt
-rw-r--r-- 1 root root 48K Nov 30 21:40 2.txt

[root@xusx xxx]# find ./ -type f -size +1k -a -size -100k
./2.txt

 

相关文章:

  • 2021-10-29
  • 2021-07-07
  • 2021-10-16
  • 2022-12-23
  • 2021-11-03
  • 2022-12-23
  • 2021-10-09
  • 2022-03-06
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案