dotfiles/.local/bin/scripts/mpq

7 lines
121 B
Plaintext
Raw Normal View History

2024-04-08 11:02:09 +00:00
#!/bin/sh -e
# MPC add file to queue
for arg
do fullpath=$(realpath "$arg")
mpc insert "${fullpath/$MUSIC\//}"
done