dotfiles/.local/bin/scripts/downloads

9 lines
299 B
Plaintext
Raw Normal View History

2023-09-11 23:16:35 +00:00
#!/bin/sh -e
# Move common files into their place from the downloads folder.
dow=$DATA/5-*/download
rmlint --rank-by=l -o pretty -o sh:/tmp/dow.sh *.*
printf "Enter to confirm, any text to skip. "
read -r answer
test -n "$answer" || /tmp/dow.sh -d
mv -v -- $dow/*.mp3 $dow/*.flac $dow/*.wav $MUSIC/