<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Mkdir on Kenno&#39;s Open Note</title>
    <link>https://blog.khmersite.net/tags/mkdir/</link>
    <description>Recent content in Mkdir on Kenno&#39;s Open Note</description>
    <image>
      <title>Kenno&#39;s Open Note</title>
      <url>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo -- 0.154.0</generator>
    <language>en</language>
    <lastBuildDate>Tue, 09 Jun 2020 17:39:46 +1000</lastBuildDate>
    <atom:link href="https://blog.khmersite.net/tags/mkdir/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to Create Multiple Directories with Incrementing Numbers in Names</title>
      <link>https://blog.khmersite.net/p/create-directories-with-incrementing-numbers-in-names/</link>
      <pubDate>Tue, 09 Jun 2020 17:39:46 +1000</pubDate>
      <guid>https://blog.khmersite.net/p/create-directories-with-incrementing-numbers-in-names/</guid>
      <description>&lt;p&gt;I need to create 20 empty directores with the following name: &lt;code&gt;dvd01&lt;/code&gt;, &lt;code&gt;dvd02&lt;/code&gt;, &lt;code&gt;dvd03&lt;/code&gt;,&amp;hellip;, &lt;code&gt;dvd20&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;My first thought was to use &lt;code&gt;for&lt;/code&gt; loop, but then I decided to do a quick Google search, and found something more elegant:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ mkdir dvd&lt;span style=&#34;color:#f92672&#34;&gt;{&lt;/span&gt;01..20&lt;span style=&#34;color:#f92672&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;That&amp;rsquo;s cool, isn&amp;rsquo;t it?&lt;/p&gt;
&lt;p&gt;Reference:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://unix.stackexchange.com/questions/415069/how-to-create-multiple-directories-with-incrementing-numbers-in-a-single-command&#34;&gt;How to create multiple directories with incrementing numbers in a single command?&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    </item>
  </channel>
</rss>
