How to delete many 0 byte files in linux?

前端 未结 10 2001
孤街浪徒
孤街浪徒 2020-12-07 11:19

I\'ve a directory with many number of 0 byte files in it. I can\'t even see the files when I use the ls command. I\'m using a small script to delete these files but sometime

10条回答
  •  臣服心动
    2020-12-07 11:34

    you can even use the option -delete which will delete the file.

    from man find, -delete Delete files; true if removal succeeded.

提交回复
热议问题