tarでディレクトリ指定して展開 tappe 15年前 $ mkdir hogedir $ tar zxvf hoge.tar.gz -C hogedir これでhogedir内に展開される。 ディレクトリをあらかじめ作成しておかなきゃだめな点に注意。