LoginSignup
5

More than 5 years have passed since last update.

カレントディレクトリ以下のファイルをワンライナーで圧縮

Last updated at Posted at 2015-05-18

超メモ
カレントディレクトリ以下のログファイルを個別にgzip形式に圧縮。

なお、ファイル名に空白が混じることは考慮していないです。

find . -name "*.log" | xargs gzip

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5