2
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

よく利用するワンライナーメモ<随時更新>

Posted at

株式会社オズビジョン@terra_yuccoです。

サーバ作業の中には、いちいちやるには面倒すぎる&そもそも不可能なものがいくつかあったりします。そんな時に使っているワンライナーのメモを追加していこうと思います。
だんだん増えていく予定。

ディレクトリ内ファイルを1つずつgzipでアーカイブ

$ ls -1 | while read line; do gzip ${line}; done
2
4
0

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
2
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?