Mac Terminal grep output rm delete files

Mac Terminal grep output rm delete files My Problem … list files that contains space 2.mp3 and delete them all on the Terminal. That was the best solution for me ls | grep ” 2.mp3″ | while read line; do rm “$line”;done; Darth Papa Sith

Open chat
💬 Need help?
Hello 👋
Can we help you?