Linux tar compression command

1、tar  -zcvf  demo.tar.gz   xxxxx

xxxx is the name of the packaging folder

2. tar -zcvf demo.tar.gz wenjianjia1 wenjianjia2

wenjianjia1 wenjianjia2 is the name of multiple folders

Guess you like

Origin blog.csdn.net/u011529382/article/details/122195275