dotfiles/.bin/OLD/copyto

16 lines
239 B
Plaintext
Raw Normal View History

#!/bin/sh
[ -z "$1" ] && exit 1
DEST=/tank/pub
DIRS=Video_{Movies,Music,Series,Education,P0rn}
PS3="Move \"$1\" to: "
select dir in $DIRS ${DIRS}_Unsorted
do
echo mv -iv "$1" $DEST/$dir/
mv -iv "$1" $DEST/$dir/
exit 0
done