GZip every file separately

前端 未结 6 1593
囚心锁ツ
囚心锁ツ 2020-12-13 17:40

How can we GZip every file separately?

I don\'t want to have all of the files in a big tar.

6条回答
  •  甜味超标
    2020-12-13 17:56

    If you want to gzip every file recursively, you could use find piped to xargs:

    $ find . -type f -print0 | xargs -0r gzip
    

提交回复
热议问题