You are Here:
Download Linux Lite 5.6 Final today - See Release Announcements



X Close Ad
X Close Ad
[ HELPFUL TIP ] Genre/s plus A to Z directories in 1 command

Author (Read 1993 times)

0 Members and 1 Guest are viewing this topic.

Genre/s plus A to Z directories in 1 command
« on: July 24, 2017, 02:04:06 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3237
    Posts
  • Country: 00
  • Reputation: 305
    • Try to Grow

  • Linux Lite: 3.2 64bit

  • Kernel: 4.x
Hello,

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

change to your Music directory

Code: [Select]
cd Music
Example 1 - Lets make a music genre directory (named reggae), and 26 folders A thru Z inside this in 1 command -

Code: [Select]
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: [Select]
mkdir -p reggae/dancehall/{A..Z} reggae/lovers-rock/{A..Z}

Similar can be tried in video folder, pictures folder, or document folder.
Last Edit: July 25, 2017, 10:39:55 PM by bitsnpcs
 


Tags:
 

X Close Ad
X Close Ad

Download Linux Lite 5.6 Final today - See Release Announcements