Created
March 9, 2026 07:08
-
-
Save skafiend/663da9b0c6d8dc4743f2576cb8571b4a to your computer and use it in GitHub Desktop.
cmus trash files (library/playlist)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| bind library D run sh -c 'trash "$@"; find /media/stuff/Music -type d -empty -delete' -- {} | |
| bind playlist D run sh -c 'trash "$@" && cmus-remote -C -P "win-remove" &' -- {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment