dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit ec8008fec1efd56c8e8fd587f7c202100df0515b
parent 10251e289acea88fc6777b12bae6c3a2bc44e663
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 29 Jun 2018 13:06:06 -0400

Update bookmarks and ytdl script

Diffstat:
Mlinks/.w3m/bookmark.html | 1+
Mlinks/bin/youtube-dl-music.sh | 5+++++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/links/.w3m/bookmark.html b/links/.w3m/bookmark.html @@ -59,6 +59,7 @@ <ul> <li><a href="https://www.plainsborolibrary.org/">Plainsboro Public Library</a> <li><a href="https://parents.ww-p.org/genesis/parents?gohome=true">WW-P Genesis Parents Login</a> +<li><a href="http://teriyakiboy.net/catalog/alldishes.aspx">Teriyaki Boy</a> <!--End of section (do not delete this comment)--> </ul> <h2>Academia</h2> diff --git a/links/bin/youtube-dl-music.sh b/links/bin/youtube-dl-music.sh @@ -10,6 +10,7 @@ else prefix="torify" fi +oldpwd=$PWD outputdir=$TMPDIR/ytdl-playlist mkdir -p "$outputdir" cd "$outputdir" @@ -25,6 +26,8 @@ $prefix youtube-dl \ read -p "add metadata? [Y/n] " -n 1 -r echo if [[ $REPLY =~ ^[Nn]$ ]]; then + mv ./*.mp3 "$oldpwd/" + cd - exit 0 else @@ -63,6 +66,8 @@ else read -p "move to music folder? [Y/n] " -n 1 -r echo if [[ $REPLY =~ ^[Nn]$ ]]; then + mv ./*.mp3 "$oldpwd/" + cd - exit 0 else