Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tar [2014/06/17 16:16]
127.0.0.1 external edit
tar [2017/07/06 19:29] (current)
steve
Line 7: Line 7:
 <​code>​ <​code>​
 tar -C /​var/​www/​html/​ -jcf foobar.tar.bz2 foobar/ tar -C /​var/​www/​html/​ -jcf foobar.tar.bz2 foobar/
 +</​code>​
 +
 +** List files **
 +
 +Usually, ''​less''​ will work. Otherwise:
 +
 +<​code>​
 +tar -tf files.tar.gz
 </​code>​ </​code>​