Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
tar -czvf backup.tar.gz www/
Old 06-23-2011, 12:56 AM tar -czvf backup.tar.gz www/
TWD
TWD's Avatar
King Spam Talker

Posts: 1,190
Trades: 0
I understand that this command line
will create a tarball

but what does the -czvf mean?

And this unpacks it.

tar -xzvf backup.tar.gz

What does the x mean?
__________________
RATE-MY-WEBSITE.com "Free website reviews by real web professionals"
Please login or register to view this content. Registration is FREE

Last edited by TWD; 06-23-2011 at 12:59 AM..
TWD is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-23-2011, 09:30 AM Re: tar -czvf backup.tar.gz www/
andrei155's Avatar
CEO of BLD Hosting

Posts: 1,514
Name: Andrei
Location: Canada
Trades: 6
http://www.computerhope.com/unix/utar.htm
__________________
No Overselling Guarantee
Now Includes a Free Domain
BLD Hosting -
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
andrei155 is offline
Reply With Quote
View Public Profile Visit andrei155's homepage!
 
Old 06-23-2011, 10:52 AM Re: tar -czvf backup.tar.gz www/
TWD
TWD's Avatar
King Spam Talker

Posts: 1,190
Trades: 0
thanks.
__________________
RATE-MY-WEBSITE.com "Free website reviews by real web professionals"
Please login or register to view this content. Registration is FREE
TWD is offline
Reply With Quote
View Public Profile
 
Old 09-01-2011, 05:32 AM Re: tar -czvf backup.tar.gz www/
Junior Talker

Posts: 1
Trades: 0
hello
i did this command in php "tar czvf back.tar.gz /web/htdocs/www-eticalis-org/home/"
it's work as perfect but this is for linux only?
because i found other server folder is "D:\Hosting\4882069\html" maybe not work on server host windows? there is other solution?

this is php for linux:
Quote:
<?

//Creating the file to compress:
exec("echo 'This is a test file to be compressed.' > testfile.txt");

echo 'Compressing...';

//Run the command and print out the result string
echo exec('tar czvf back.tar.gz /web/htdocs/www-eticalis-org/home/');

//Check out the compressed file:
echo '<a href="back.tar.gz" target="_blank">Get the file now</a>';

?>
version windows??? see :
Quote:
<?

//Creating the file to compress:
exec("echo 'This is a test file to be compressed.' > testfile.txt");

echo 'Compressing...';

//Run the command and print out the result string
echo exec('tar czvf back.tar.gz D:\Hosting\4882069\html\');

//Check out the compressed file:
echo '<a href="back.tar.gz" target="_blank">Get the file now</a>';

?>
tunjin is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to tar -czvf backup.tar.gz www/
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13406 seconds with 12 queries