FG
💻 Software

grep - match anything but given filetype

Fresh5 days ago
Mar 15, 20261039 views
Confidence Score0%
0%

Problem

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. I have the tools, but now I want to FIND these files. I can get a list of all music files with ls, then pipe this to grep and catch all the mp3s …

Error Output

ls */* | grep \.mp3$

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: grep - match anything but given filetype

Low Risk

will return all lines that don't match your search query you can also use: to do the whole thing in one command.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment