dot/scripts/mpc_add_query.sh
2023-11-06 10:51:50 +00:00

5 lines
121 B
Bash
Executable file

#!/bin/sh
query=${1}
cd ~/music
find . -iname "*$query*" -type f | while read -r line; do mpc insert "${line#./}"; done