LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Genre/s plus A to Z directories in 1 command
#1
Hello,

Open the terminal by holding down Ctrl and Alt keys and pressing t (Ctrl+Alt+t)

change to your Music directory

Code:
cd Music

Example 1 - Lets make a music genre directory (named reggae), and 26 folders A thru Z inside this in 1 command -

Code:
mkdir -p reggae/{A..Z}

Or

Example 2 - Lets make a music genre directory (named reggae), and 2 sub-genre directories named dancehall, and lovers-rock, with 26 folders in each sub-genre folders A thru Z, thats 55 folders in 1 concise command  8)

Code:
mkdir -p reggae/dancehall/{A..Z} reggae/lovers-rock/{A..Z}


Similar can be tried in video folder, pictures folder, or document folder.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)