New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
?
I should type " tar czf varwww.tar.gz /var/www " right?
why two cmds? diffrent formats?
The first creates a tar.gz, the second is an alternative format: .tar.bz2.
There's also
for a .zip file
it says http://pokit.org/get/img/5261922876e4a48fbdd6e3cf178c3f72.jpg
when i try
zip -r archive.zip /var/www
For CentOS
or
Debian/Ubuntu
yea. tar -flag(s) the_compressed_file_name.tar.type /your/directory
check here http://www.dslreports.com/faq/16175
stay outside of that folder and run below command
z=gzip compression
c=create
v=verbose
f=filename (backup.tgz)
Ok thanks guys and good night(i am from India,its night here).
For CentOS
or
Debian/Ubuntu
PS (For future readers). ZIP is limited to ~4GB of compressed data. tar would be a better option for larger files.
And bz2 offers a bit better compression than gz.
there's also plzip and pbzip2 / lbzip2 for speed + compression ratios http://vbtechsupport.com/1614/
If the folder is large, bz2 takes quite a bit longer to compress than gz.
Not so much anymore, most linux OS switch to zip64 once it is bigger than 4GB. With zip64 it is ALOT more.
try lbzip2 easily 4-8x times faster than bz2 if you have more cpu threads to support lbzip2 But yes still slower than gzip and pigz
Use rsync.
Do you know if zip64 is slower than regular zip?
Whats the cmd to extract a zip file by name "GameCPXioncube.zip" in debian 6 ?
@rahulks
You could also use google, it is faster...
Thanks