{"id":763,"date":"2019-02-10T11:09:50","date_gmt":"2019-02-10T04:09:50","guid":{"rendered":"http:\/\/www.oopsbox.com\/?p=763"},"modified":"2019-02-10T11:11:53","modified_gmt":"2019-02-10T04:11:53","slug":"create-multiple-directories-at-once-mkdir","status":"publish","type":"post","link":"https:\/\/www.oopsbox.com\/?p=763","title":{"rendered":"Create multiple  directories at once mkdir"},"content":{"rendered":"<p>\u0e2a\u0e31\u0e49\u0e19 !!<br \/>\n\u0e04\u0e27\u0e32\u0e21\u0e19\u0e48\u0e32\u0e23\u0e31\u0e01\u0e41\u0e25\u0e30\u0e21\u0e35\u0e1b\u0e23\u0e30\u0e42\u0e22\u0e0a\u0e19\u0e4c\u0e02\u0e2d\u0e07 Bash \u0e01\u0e47\u0e04\u0e37\u0e2d\u0e1a\u0e32\u0e07\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e40\u0e23\u0e32\u0e01\u0e47\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e25\u0e14\u0e40\u0e27\u0e25\u0e32\u0e44\u0e14\u0e49\u0e14\u0e49\u0e27\u0e22\u0e01\u0e32\u0e23\u0e17\u0e33 Script \u0e2a\u0e31\u0e49\u0e19 \u0e46 \u0e40\u0e0a\u0e48\u0e19\u0e01\u0e23\u0e13\u0e35\u0e19\u0e35\u0e49 \u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07 Directory \u0e15\u0e32\u0e21\u0e42\u0e04\u0e23\u0e07\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e19\u0e35\u0e49<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">\u251c\u2500\u2500 config\r\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 webui\r\n\u251c\u2500\u2500 data\r\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 director\r\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 storage\r\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 webui\r\n\u251c\u2500\u2500 mysql\r\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 data\r\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 log\r\n\r\n<\/pre>\n<p>\u0e40\u0e23\u0e32\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e2a\u0e31\u0e49\u0e19 \u0e46 \u0e02\u0e49\u0e32\u0e07\u0e25\u0e48\u0e32\u0e07 \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e42\u0e1f\u0e25\u0e40\u0e14\u0e2d\u0e23\u0e4c<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">mkdir -p {data\/{director,storage,webui},config\/webui,mysql\/{data,log}}<\/pre>\n<p>\u0e41\u0e25\u0e30\u0e01\u0e23\u0e13\u0e35\u0e2d\u0e37\u0e48\u0e19 \u0e46 \u0e2d\u0e35\u0e01 \u0e44\u0e1b\u0e25\u0e2d\u0e07\u0e01\u0e31\u0e19\u0e44\u0e14\u0e49\u0e27\u0e48\u0e32\u0e1c\u0e25\u0e25\u0e31\u0e1e\u0e18\u0e4c\u0e08\u0e30\u0e44\u0e14\u0e49\u0e2d\u0e2d\u0e01\u0e21\u0e32\u0e22\u0e31\u0e07\u0e44\u0e07<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">mkdir test{1..50}\r\nmkdir -p test{1..50}\/sub{1..50}\r\nmkdir {a-z}12345 \r\nmkdir {1,2,3}\r\nmkdir test{01..10}\r\nmkdir -p `date '+%y%m%d'`\/{1,2,3} \r\nmkdir -p $USER\/{1,2,3}<\/pre>\n<p>\u0e08\u0e1a\u0e1b\u0e34\u0e4a\u0e07 !!<\/p>\n<div id=\"s-share-buttons\" class=\"\"><div class=\"s-single-share\">\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"fb-share-button\" data-href=\"https:\/\/www.oopsbox.com\/?p=763\" data-type=\"button_count\"><\/div><\/div><div class=\"s-single-share\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\"><\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t<\/div><div class=\"s-single-share\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"g-plusone\" data-size=\"medium\"><\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div><div class=\"s-single-share\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"\/\/www.pinterest.com\/pin\/create\/button\/\" data-pin-do=\"buttonBookmark\"  data-pin-color=\"red\"><img decoding=\"async\" src=\"\/\/assets.pinterest.com\/images\/pidgets\/pinit_fg_en_rect_red_20.png\" \/><\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<script type=\"text\/javascript\" async defer src=\"\/\/assets.pinterest.com\/js\/pinit.js\"><\/script>\n\t\t\t\t\t\t\t\t\t\t\t\t<\/div><div class=\"s-single-share\">\n\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"mailto:?Subject=Create%20multiple%20%20directories%20at%20once%20mkdir&Body=Here%20is%20the%20link%20to%20the%20article:%20https:\/\/www.oopsbox.com\/?p=763\" title=\"Email\" class=\"s3-email\"><img decoding=\"async\" src=\"https:\/\/www.oopsbox.com\/wp-content\/plugins\/simple-social-share\/includes\/..\/images\/share-email.png\"><\/a>\n\t\t\t\t\t\t\t\t\t\t\t<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>\u0e2a\u0e31\u0e49\u0e19 !! \u0e04\u0e27\u0e32\u0e21\u0e19\u0e48\u0e32\u0e23\u0e31\u0e01\u0e41\u0e25\u0e30\u0e21\u0e35\u0e1b\u0e23\u0e30\u0e42\u0e22\u0e0a\u0e19\u0e4c\u0e02\u0e2d\u0e07 Bash \u0e01\u0e47\u0e04\u0e37\u0e2d\u0e1a\u0e32\u0e07\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e40\u0e23\u0e32\u0e01\u0e47\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e25\u0e14\u0e40\u0e27\u0e25\u0e32\u0e44\u0e14\u0e49\u0e14\u0e49\u0e27\u0e22\u0e01\u0e32\u0e23\u0e17\u0e33 Script \u0e2a\u0e31\u0e49\u0e19 \u0e46 \u0e40\u0e0a\u0e48\u0e19\u0e01\u0e23\u0e13\u0e35\u0e19\u0e35\u0e49 \u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07 Directory \u0e15\u0e32\u0e21\u0e42\u0e04\u0e23\u0e07\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e19\u0e35\u0e49 \u251c\u2500\u2500 config \u2502\u00a0\u00a0 \u2514\u2500\u2500 webui \u251c\u2500\u2500 data \u2502\u00a0\u00a0 \u251c\u2500\u2500 director \u2502\u00a0\u00a0 \u251c\u2500\u2500 storage \u2502\u00a0\u00a0 \u2514\u2500\u2500 webui \u251c\u2500\u2500 mysql \u2502\u00a0\u00a0 \u251c\u2500\u2500 data \u2502\u00a0\u00a0 \u2514\u2500\u2500 log \u0e40\u0e23\u0e32\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e2a\u0e31\u0e49\u0e19 \u0e46 \u0e02\u0e49\u0e32\u0e07\u0e25\u0e48\u0e32\u0e07 \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e42\u0e1f\u0e25\u0e40\u0e14\u0e2d\u0e23\u0e4c mkdir -p {data\/{director,storage,webui},config\/webui,mysql\/{data,log}} \u0e41\u0e25\u0e30\u0e01\u0e23\u0e13\u0e35\u0e2d\u0e37\u0e48\u0e19 \u0e46 \u0e2d\u0e35\u0e01 \u0e44\u0e1b\u0e25\u0e2d\u0e07\u0e01\u0e31\u0e19\u0e44\u0e14\u0e49\u0e27\u0e48\u0e32\u0e1c\u0e25\u0e25\u0e31\u0e1e\u0e18\u0e4c\u0e08\u0e30\u0e44\u0e14\u0e49\u0e2d\u0e2d\u0e01\u0e21\u0e32\u0e22\u0e31\u0e07\u0e44\u0e07 mkdir test{1..50} mkdir -p test{1..50}\/sub{1..50} mkdir {a-z}12345 mkdir &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.oopsbox.com\/?p=763\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Create multiple  directories at once mkdir&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":764,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5],"tags":[96,69,10],"class_list":["post-763","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-bash","tag-command-line","tag-shell-script","entry"],"views":2681,"_links":{"self":[{"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=\/wp\/v2\/posts\/763","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=763"}],"version-history":[{"count":3,"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=\/wp\/v2\/posts\/763\/revisions"}],"predecessor-version":[{"id":767,"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=\/wp\/v2\/posts\/763\/revisions\/767"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=\/wp\/v2\/media\/764"}],"wp:attachment":[{"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}