6

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

1 Answer 1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .