Voytek wrote:
<quote who="[EMAIL PROTECTED]">

tar jcf filename.tar.bz2 file1 file2...fileN


thanks, Amos, that works good,
what the correct way to reconstitute with full path ?


just do tar jcf filename.tar.bz2 folder_name

or tar zcf for gzip

eg

assuming pwd is /var/www/html and the tree you want to copy is /var/www/html/web_folder:

tar -jcf web.bz2 web_folder

this will store the structure from web_folder down. If you want the whole thing from root then from / do

tar -jcf web.bz2 /var/www/html/web_folder


Fil -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to