7
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.

圧縮 + 解凍のよく使うコマンド

Last updated at Posted at 2015-03-10

zipファイルに圧縮しながらパスワードをかける

zip -e -r "圧縮後のファイル名.zip" "圧縮したいディレクトリ"

その他

  • ディレクトリをzipに圧縮
zip -r "圧縮後のファイル名.zip" "圧縮したいディレクト
リ"
  • zipファイルの解凍

unzip "zipファイル名"

  • ディレクトリをtar.gzに圧縮
tar cfvz "圧縮後のファイル名.tar.gz" "圧縮したいディレクトリ"
  • tar.gzの解答
tar xfvz "解答したいファイル名"
  • gzファイルの解凍
gunzip "gzファイル名"
7
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
7
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?