memo.xight.org

/ / memo.xight.org

2003-01-23

tar のオプション

- オプション一覧
  -c --create 新しい書庫の作成
  -x --extract 書庫からのファイルの取り出し
  -t --list 書庫内の内容のリスト

  -v --verbose 処理されているファイルのリストを冗長に表示

  -z --gzip filter the archive through gzip
  -j --bzip2 filter the archive through bzip2

  -f --file=ARCHIVE 書庫ファイルまたはデバイス ARCHIVE を使用
  -C --directory=DIR change to directory DIR

- 逆引
  tar.gz 展開

$ tar -xzvf hoge.tar.gz [-C DIR]

  tar.gz 圧縮

$ tar -czvf hoge.tar.gz DIR

  tar.bz2 展開

$ tar -xjvf hoge.tar.bz2 [-C DIR]

  tar.bz2 圧縮

$ tar -cjvf hoge.tar.bz2 DIR

カテゴリ: [UNIX]
2003-01 /

Color Reference

ChangeLogを検索
携帯電話からアクセス!

カテゴリ

最近の話題

リンク

過去ログ

Google

QR Code

Since
2002-11-28
Update
2008-12-02 10:52
Copyright © 2005 xight.org All Rights Reserved.