tarと同時に元ファイルの削除

提供: Wikiducca
移動: 案内検索
$ tar --remove-files -zcvf 作成するアーカイブファイル名.tar.gz アーカイブ対象

参考・引用: http://wp.kaz.bz/tech/2007/03/02/68.html