Home » Questions » Computers [ Ask a new question ]

grep - match anything but given filetype

grep - match anything but given filetype

I want to clean out my music library so I don't get any more "search for suitable plugin" messages from Rhythmbox when it sutubles across some WMA-Relic.

Asked by: Guest | Views: 30
Total answers/comments: 1
Guest [Entry]

"grep -v will return all lines that don't match your search query

you can also use:

find . ! -name ""*.mp3""

to do the whole thing in one command."