I have a very specific directory tree on my music library. I would like to count all of the albums, excluding all the subdirectories.
For instance, given this directory tree:
/music/
/music/Davis, Miles/ (<--1. interpret)
/music/Davis, Miles/Kind of Blue/ <--1. album
/music/Davis, Miles/Tutu/ <--2. album
/music/Hendrix, Jimi/ (<--2. interpret)
/music/Hendrix, Jimi/Axis Bold As Love/ <--3. album
/music/Hendrix, Jimi/Electric Ladyland/ <--4. album
/music/Hendrix, Jimi/Electric Ladyland/Disk 1
/music/Hendrix, Jimi/Electric Ladyland/Disk 2
I would like for the command to retu "4" .
So basically I want the command to retu the number of albums, Or, bonus points if it retus "2" Interprets and "4" albums.
(and double bonus points if it additionally lists the interprets and albums.)
How can I most easily do this?
Many Thanks in advance!!
Recent Questions...
ما را در سایت Recent Questions دنبال میکنید
برچسب: how can i keep from singing,how can it be,how can i watch the olympics online,how can investors receive compounding retus,how can i watch the olympics live,how can it be lyrics,how can i watch game of thrones,how can i make money,how can it be chords,how can i lose weight,
نویسنده: استخدام کار
بازدید: 529
تاريخ: پنجشنبه
21 مرداد
1395 ساعت: 6:25