Tar up only 3 specific files in command line with linux
18,161
tar acf bak.tar.gz public_html.tar.gz dbapp.sql dbwp.sql
Or if you dont have a
option
tar zcf bak.tar.gz public_html.tar.gz dbapp.sql dbwp.sql
Related videos on Youtube
Comments
-
u1sonderzug over 1 year
Is it possible with one command to tar up 3 files into one tar archive?
For example, tar up:
public_html.tar.gz
dbapp.sql
dbwp.sql
into a tar file called bak.tar.gz