まとめ
tar のオプションの順番
「z とか使えない環境あるだろ使うな」
「今時の GNU tar は自動判別するだろ使うな」
で gzip -dc hoge.tar.gz | tar xvf - 最強説を唱えてみる
5150 pv
24
3 users
13
@matoken@tw
@matoken
あああ,Tar圧縮時の補完はaも必要でしたorz tar cf hoge.tar.xz hoge file hoge.tar.xz hoge.tar.xz: POSIX tar archive (GNU)
2016-05-01 18:15:01
@matoken@tw
@matoken
aを付けてこう tar acf hoge.tar.xz hoge file hoge.tar.xz hoge.tar.xz: XZ compressed data
2016-05-01 18:15:20
@matoken@tw
@matoken
そういえば最近のシェルだとアーカイブの中も補完してくれたり tar xf hoge.tar.xz←ここでTabを押すと補完される
2016-05-01 18:20:45