Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Assuming I have multiple subdirectories under "Music", and I want to view all the files ending in *.mp3

On Windows this is easy to do. How can I go about it in Ubuntu?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Ubuntu also has a search tool like Windows. Under Places -> Search for Files you can choose what folder to search and a part of the filename to search for. You can even use regular expressions in the search (In the dropdown of Available Options, choose Matches regular expression). Unless you enjoy naming non-mp3 files weird things like myfile.mp3.txt, then using name contains should be sufficient for the search:

alt text

If you would like to use the command line:

find ~/Music -type f -name "*.mp3"
share|improve this answer
    
yep I had figured out this much by myself, by thanks for the visual explanation –  Redandwhite Dec 26 '09 at 14:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.