<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: How to Create a Password Protected ZIP File in Linux	</title>
	<atom:link href="https://www.tecmint.com/create-password-protected-zip-file-in-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/create-password-protected-zip-file-in-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Mon, 14 Aug 2023 23:39:27 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: gvisoc		</title>
		<link>https://www.tecmint.com/create-password-protected-zip-file-in-linux/comment-page-1/#comment-2045414</link>

		<dc:creator><![CDATA[gvisoc]]></dc:creator>
		<pubDate>Mon, 14 Aug 2023 23:39:27 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=28207#comment-2045414</guid>

					<description><![CDATA[The example:
&lt;pre&gt;
# zip -e ccat-command.zip ccat-1.1.0/
&lt;/pre&gt;
Does not work on a folder, as it only compresses the folder and not its content. Indeed, in the output of the example we can get a hint of this fact based on the &quot;(stored 0%)&quot;, which means that the archive is compressed down to 0%, i.e., no actual content.

To compress a folder and its content, encrypted, we need to add -r:
&lt;pre&gt;
# zip -e -r ccat-command.zip ccat-1.1.0/
or 
# zip -er ccat-command.zip ccat-1.1.0/
&lt;/pre&gt;
will work. We will notice it because we get a comprehensive output and a statement of how much deflation applied to each and every file.]]></description>
			<content:encoded><![CDATA[<p>The example:</p>
<pre>
# zip -e ccat-command.zip ccat-1.1.0/
</pre>
<p>Does not work on a folder, as it only compresses the folder and not its content. Indeed, in the output of the example we can get a hint of this fact based on the &#8220;(stored 0%)&#8221;, which means that the archive is compressed down to 0%, i.e., no actual content.</p>
<p>To compress a folder and its content, encrypted, we need to add -r:</p>
<pre>
# zip -e -r ccat-command.zip ccat-1.1.0/
or 
# zip -er ccat-command.zip ccat-1.1.0/
</pre>
<p>will work. We will notice it because we get a comprehensive output and a statement of how much deflation applied to each and every file.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/create-password-protected-zip-file-in-linux/comment-page-1/#comment-1923760</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Sat, 03 Dec 2022 08:02:58 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=28207#comment-1923760</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/create-password-protected-zip-file-in-linux/comment-page-1/#comment-1923467&quot;&gt;Jirka&lt;/a&gt;.

@Jirka,

Thanks for sharing the tip, hope it will help other Linux users...]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/create-password-protected-zip-file-in-linux/comment-page-1/#comment-1923467">Jirka</a>.</p>
<p>@Jirka,</p>
<p>Thanks for sharing the tip, hope it will help other Linux users&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jirka		</title>
		<link>https://www.tecmint.com/create-password-protected-zip-file-in-linux/comment-page-1/#comment-1923467</link>

		<dc:creator><![CDATA[Jirka]]></dc:creator>
		<pubDate>Fri, 02 Dec 2022 15:07:25 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=28207#comment-1923467</guid>

					<description><![CDATA[This worked by me in Ubuntu: &lt;code&gt;zip --encrypt 2022-12-02_backup.zip -r folder_to_backup&lt;/code&gt;.

Be good!]]></description>
			<content:encoded><![CDATA[<p>This worked by me in Ubuntu: <code>zip --encrypt 2022-12-02_backup.zip -r folder_to_backup</code>.</p>
<p>Be good!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ivan		</title>
		<link>https://www.tecmint.com/create-password-protected-zip-file-in-linux/comment-page-1/#comment-1886116</link>

		<dc:creator><![CDATA[Ivan]]></dc:creator>
		<pubDate>Mon, 26 Sep 2022 23:49:15 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=28207#comment-1886116</guid>

					<description><![CDATA[It is not worked! work this: &lt;code&gt;zip -P asdasdas archive.zip asdasdas&lt;/code&gt;.]]></description>
			<content:encoded><![CDATA[<p>It is not worked! work this: <code>zip -P asdasdas archive.zip asdasdas</code>.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: doug		</title>
		<link>https://www.tecmint.com/create-password-protected-zip-file-in-linux/comment-page-1/#comment-1414887</link>

		<dc:creator><![CDATA[doug]]></dc:creator>
		<pubDate>Wed, 13 Jan 2021 17:55:32 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=28207#comment-1414887</guid>

					<description><![CDATA[Like others have said, needs to be recursive or a wildcard in the example you give.]]></description>
			<content:encoded><![CDATA[<p>Like others have said, needs to be recursive or a wildcard in the example you give.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
