- 行尾$替换为 \ 注:空格\
- 第一行行首加tar czvf 压缩后文件前缀.tar.gz
- 最后一行行尾可以加 && echo "done"
结果如下:
tar czvf test.tar.gz COVIDHarbin.list.csv \
COVIDHarbin.list.csv_copy \
COVIDHarbin.list.csv.sorted && echo "done"
结果如下:
tar czvf test.tar.gz COVIDHarbin.list.csv \
COVIDHarbin.list.csv_copy \
COVIDHarbin.list.csv.sorted && echo "done"
本文来自博客园,作者:BioinformaticsMaster,转载请注明原文链接:https://www.cnblogs.com/koujiaodahan/p/15795371.html