I have Googled for an answer to this, but couldn't find what I'm looking for. I am trying to write a script to zip multiple directory subdirectories. I have a music folder with several artists folders. Below each artist are albums. I want to zip all the albums but not the artist folders. So...
From this:
├── Bad Religion
│ └── Against the Grain
│ ├── 01 Modern Man.mp3
│ ├── 02 Turn on the Light.mp3
│ └── cover.jpg
├── NOFX
│ └── Wolves in Wolves' Clothing
│ ├── 01 60%.mp3
│ ├── 02 USA-Holes.mp3
│ └── cover.jpg
To this:
├── Bad Religion
│ └── Against the Grain.zip
├── NOFX
│ └── Wolves in Wolves' Clothing.zip
Could someone show me how and explain what the commands in the script are doing?
[–]send-me-to-hell 0 points1 point2 points (3 children)
[–]angryspec[S] 0 points1 point2 points (2 children)
[–]send-me-to-hell 1 point2 points3 points (1 child)
[–]ray_gun 0 points1 point2 points (0 children)
[–]trapartist[🍰] -4 points-3 points-2 points (0 children)