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
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