Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
myloOffline
Post subject: CD list from directory entries  PostPosted: 18.11.2011, 17:42



Joined: 2010-09-11
Posts: 116
Location: Wiesbaden, Germany
Status: Offline
I have all my music cd's digitalized in the following manner:

../music/interpreter1/cd_title1/song1.flac
and so on.

Now I want to generate a list of all my CD's (not the songs). How can I easily export this? In some way of using

      Code:
ls -l
?
or is there a better way, to coming to an overview for comparing the digitized collection with the collection in the cupboard for checking completion?

_________________
Regards
mylo

Linux 3.1-6.slh.1-aptosid-amd64 x86_64[2010-03 Ἀπάτη (201012262151)]
Intel Core2 Duo E6550 @ Cache/Ram 4MB/4GB nVidia G72 7300 nouveau 2*250GB
 
 View user's profile Send private message  
Reply with quote Back to top
alexkOffline
Post subject: RE: CD list from directory entries  PostPosted: 18.11.2011, 18:15



Joined: 2010-10-01
Posts: 185
Location: Bay state
Status: Offline
Could try:
      Code:
tree -L 2 music | sort | uniq
 
 View user's profile Send private message Yahoo Messenger  
Reply with quote Back to top
DonKultOffline
Post subject: RE: CD list from directory entries  PostPosted: 18.11.2011, 18:54
Team Member


Joined: 2010-09-02
Posts: 482

Status: Offline
Untested, but something like that should do the trick, too:
      Code:
find /path/to/music -maxdepth 2 -mindepth 2 -type d

_________________
MfG. DonKult
"I never make stupid mistakes. Only very, very clever ones." ~ The Doctor
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
myloOffline
Post subject: RE: CD list from directory entries  PostPosted: 18.11.2011, 20:35



Joined: 2010-09-11
Posts: 116
Location: Wiesbaden, Germany
Status: Offline
Thanks guys, that works!

_________________
Regards
mylo

Linux 3.1-6.slh.1-aptosid-amd64 x86_64[2010-03 Ἀπάτη (201012262151)]
Intel Core2 Duo E6550 @ Cache/Ram 4MB/4GB nVidia G72 7300 nouveau 2*250GB
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio