tar          打包后生成的文件名全路径                    要打包的目录

tar -czPf xx/script.tar.gz                             xx

 

-c  create new

-z 压缩

-P 绝对路径

-v, --verbose verbosely list files processed

相关文章:

  • 2022-12-23
  • 2022-01-20
  • 2021-12-31
  • 2021-09-17
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
  • 2021-05-23
猜你喜欢
  • 2021-07-10
  • 2022-12-23
  • 2021-10-21
  • 2021-09-25
  • 2022-12-23
  • 2021-07-23
  • 2022-12-23
相关资源
相似解决方案