<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Cmd on Jose Castrillo</title>
    <link>https://jose.castrillo.eu/tags/cmd/</link>
    <description>Recent content in Cmd on Jose Castrillo</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Tue, 11 Jun 2019 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://jose.castrillo.eu/tags/cmd/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Create a .zip using 7z by cmd in Windows</title>
      <link>https://jose.castrillo.eu/post/zip-cmd-windows/</link>
      <pubDate>Tue, 11 Jun 2019 00:00:00 +0000</pubDate>
      <guid>https://jose.castrillo.eu/post/zip-cmd-windows/</guid>
      <description>&lt;p&gt;After to install the 7z in our windows workstation/server then we need to create our &lt;strong&gt;evironment variables&lt;/strong&gt; to call the function from the cmd [1].&lt;/p&gt;
&lt;p&gt;Then the command below will guide you to zip a simple file:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;7z a -r [myzip] [example.txt]
&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;
&lt;li&gt;[myzip] - the zip name file&lt;/li&gt;
&lt;li&gt;[example.txt] file used for the example&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To zip a folder&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;7z a [myzip] [folder]
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Docu based thx to the information seen from: [1] &lt;a href=&#34;https://help.goodsync.com/hc/en-us/articles/360007773451-Automated-Backup-with-Compression-and-Encryption&#34;&gt;GlobalEnviroment&lt;/a&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
