Creative and Strange

Saturday, January 5, 2019

Create Massive Folder Structure

mkdir -p folder/{1..100}/{one,two,three}

This will create a folder structure with 1 through 100 then the children of one two and three inside of it.  Noticed that the sub folder one two and three has no space separating them except the comma.
Posted by John Nguyen at 11:38 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Post Older Post Home

About Me

John Nguyen
View my complete profile

Blog Archive

  • ►  2020 (1)
    • ►  August (1)
  • ▼  2019 (19)
    • ►  October (2)
    • ►  September (1)
    • ►  August (2)
    • ►  July (2)
    • ►  April (5)
    • ►  March (1)
    • ►  February (4)
    • ▼  January (2)
      • Disown process
      • Create Massive Folder Structure
  • ►  2018 (18)
    • ►  December (4)
    • ►  November (1)
    • ►  October (2)
    • ►  September (1)
    • ►  August (1)
    • ►  July (1)
    • ►  June (4)
    • ►  May (2)
    • ►  February (1)
    • ►  January (1)
  • ►  2017 (19)
    • ►  December (1)
    • ►  November (3)
    • ►  October (7)
    • ►  September (2)
    • ►  August (5)
    • ►  July (1)
The Home of the MedievalHellSpawn. Awesome Inc. theme. Powered by Blogger.