<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux 101 Hacks &#187; 07. Archive and Compression</title>
	<atom:link href="http://linux.101hacks.com/category/archive-compression/feed/" rel="self" type="application/rss+xml" />
	<link>http://linux.101hacks.com</link>
	<description>Free eBook to Build a Strong Foundation in UNIX / Linux</description>
	<lastBuildDate>Fri, 09 Dec 2011 06:07:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Hack 49. Combine gzip, bzip2 with tar</title>
		<link>http://linux.101hacks.com/archive-compression/combine-gzip-bzip2-with-tar/</link>
		<comments>http://linux.101hacks.com/archive-compression/combine-gzip-bzip2-with-tar/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 22:33:35 +0000</pubDate>
		<dc:creator>Ramesh</dc:creator>
				<category><![CDATA[07. Archive and Compression]]></category>

		<guid isPermaLink="false">http://linux.101hacks.com/?p=184</guid>
		<description><![CDATA[How to use gzip with tar? Add option z to the tar command when dealing with tar.gz compressed file. # tar cvfz /tmp/my_home_directory.tar.gz /home/jsmith # tar xvfz /tmp/my_home_directory.tar.gz # tar tvfz /tmp/my_home_directory.tar.gz Note: Using gzip is faster when compared to bzip2. How to use bzip2 with tar? Add option j to the tar command when [...]]]></description>
		<wfw:commentRss>http://linux.101hacks.com/archive-compression/combine-gzip-bzip2-with-tar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hack 48. Tar Command Basics</title>
		<link>http://linux.101hacks.com/archive-compression/tar-examples/</link>
		<comments>http://linux.101hacks.com/archive-compression/tar-examples/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 22:31:26 +0000</pubDate>
		<dc:creator>Ramesh</dc:creator>
				<category><![CDATA[07. Archive and Compression]]></category>

		<guid isPermaLink="false">http://linux.101hacks.com/?p=182</guid>
		<description><![CDATA[tar command (tape archive) is used to convert a group of files into an archive. Syntax: tar [options] [tar-archive-name] [other-file-names] How can I create a single backup file of all files and subdirectories under my home directory? The following command creates a single archive backup file called my_home_directory.tar under /tmp. This archive will contain all [...]]]></description>
		<wfw:commentRss>http://linux.101hacks.com/archive-compression/tar-examples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hack 47. Validate a zip archive</title>
		<link>http://linux.101hacks.com/archive-compression/validate-zip-file/</link>
		<comments>http://linux.101hacks.com/archive-compression/validate-zip-file/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 22:29:29 +0000</pubDate>
		<dc:creator>Ramesh</dc:creator>
				<category><![CDATA[07. Archive and Compression]]></category>

		<guid isPermaLink="false">http://linux.101hacks.com/?p=180</guid>
		<description><![CDATA[Sometime you may want to validate a zip archive without extracting it. To test the validity of the zip file, pass option –t as shown below. # unzip -t var-log.zip Archive: var-log.zip testing: var/log/acpid OK testing: var/log/anaconda.log OK testing: var/log/anaconda.syslog OK skip... testing: var/log/wtmp OK testing: var/log/wtmp.1 OK testing: var/log/Xorg.0.log OK No errors detected in [...]]]></description>
		<wfw:commentRss>http://linux.101hacks.com/archive-compression/validate-zip-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hack 46. Password Protection of Zip files</title>
		<link>http://linux.101hacks.com/archive-compression/password-protection-for-zip-files/</link>
		<comments>http://linux.101hacks.com/archive-compression/password-protection-for-zip-files/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 16:27:34 +0000</pubDate>
		<dc:creator>Ramesh</dc:creator>
				<category><![CDATA[07. Archive and Compression]]></category>

		<guid isPermaLink="false">http://linux.101hacks.com/?p=178</guid>
		<description><![CDATA[Pass the option –P to the zip command to assign a password to the zip file. # zip -P mysecurepwd var-log-protected.zip /var/log/* The above option is good if you are using the command inside a shell-script for background jobs. However, when you are performing the compression interactively on the command-line, you don’t want the password [...]]]></description>
		<wfw:commentRss>http://linux.101hacks.com/archive-compression/password-protection-for-zip-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hack 45. Advanced compression using zip command.</title>
		<link>http://linux.101hacks.com/archive-compression/advanced-compression-using-zip-command/</link>
		<comments>http://linux.101hacks.com/archive-compression/advanced-compression-using-zip-command/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 16:25:50 +0000</pubDate>
		<dc:creator>Ramesh</dc:creator>
				<category><![CDATA[07. Archive and Compression]]></category>

		<guid isPermaLink="false">http://linux.101hacks.com/?p=176</guid>
		<description><![CDATA[There are 10 levels of compression provided by zip command. Level 0 is the lowest level, where it just archives the file without any compression. Level 1 will perform little compression. But, will be very fast. Level 6 is the default level of compression. Level 9 is the maximum compression. This will be slower when [...]]]></description>
		<wfw:commentRss>http://linux.101hacks.com/archive-compression/advanced-compression-using-zip-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hack 44. Zip command basics</title>
		<link>http://linux.101hacks.com/archive-compression/zip-command/</link>
		<comments>http://linux.101hacks.com/archive-compression/zip-command/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 16:24:06 +0000</pubDate>
		<dc:creator>Ramesh</dc:creator>
				<category><![CDATA[07. Archive and Compression]]></category>

		<guid isPermaLink="false">http://linux.101hacks.com/?p=174</guid>
		<description><![CDATA[How to zip multiple files? syntax: zip {.zip file-name} {file-names} # zip var-log-files.zip /var/log/* adding: var/log/acpid (deflated 81%) adding: var/log/anaconda.log (deflated 79%) adding: var/log/anaconda.syslog (deflated 73%) adding: var/log/anaconda.xlog (deflated 82%) adding: var/log/audit/ (stored 0%) adding: var/log/boot.log (stored 0%) adding: var/log/boot.log.1 (deflated 40%) adding: var/log/boot.log.2 (deflated 42%) adding: var/log/boot.log.3 (deflated 40%) adding: var/log/boot.log.4 (deflated 40%) How [...]]]></description>
		<wfw:commentRss>http://linux.101hacks.com/archive-compression/zip-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Content Delivery Network via Amazon Web Services: CloudFront: static.101hacks.com

Served from: linux.101hacks.com @ 2012-02-04 04:14:25 -->
