Linux全般
複数ファイル・ディレクトリを排除してコピー [#c9f59de1]
# echo *.log > exclude
# echo *.sql >> exclude
# echo *.tgz >> exclude
# echo *.gz >> exclude
# tar cxfvz hogehoge.gz ./hogehoge -X exclude
Linux全般
# echo *.log > exclude
# echo *.sql >> exclude
# echo *.tgz >> exclude
# echo *.gz >> exclude
# tar cxfvz hogehoge.gz ./hogehoge -X exclude