Trace: • tar
This is an old revision of the document!
Change directory
For example, create a tarball of the contents of /var/www/html/foobar and have the tarball unpack into the foobar directory:
/var/www/html/foobar
foobar
tar -C /var/www/html/ -jcf foobar.tar.bz2 foobar/