1、打包文件:
已知文件列表存储在new.txt,进行打包
tar cvf xx.tar `cat new.txt`
zip -r oozie.zip oozie
2、批量复制
#!/bin/bashwhile read linedosz $linedone
本文共 184 字,大约阅读时间需要 1 分钟。
1、打包文件:
已知文件列表存储在new.txt,进行打包
tar cvf xx.tar `cat new.txt`
zip -r oozie.zip oozie
2、批量复制
#!/bin/bashwhile read linedosz $linedone
转载于:https://www.cnblogs.com/huanhuanang/p/5692639.html