commit 52b228956ab372afc4645f4c8eed34d2839dd48a
parent 178aa7f83574ed29c2d4c6221ef9ba5931029646
Author: Anders Damsgaard Christensen <adc@geo.au.dk>
Date: Mon, 9 Jan 2017 13:36:44 -0800
color filename output, generalize sshfs script
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/idkfa-sshfs b/bin/idkfa-sshfs
@@ -1,6 +1,6 @@
#!/bin/sh
#mount=~/idkfa
mount=/Volumes/idkfa
-mkdir -p $mount
+sudo mkdir -p $mount; sudo chown $(whoami) $mount
#ssh ad@132.239.153.219
sshfs ad@idkfa.ucsd.edu:/home/ad/ $mount
diff --git a/bin/youtube-dl-music-playlist.sh b/bin/youtube-dl-music-playlist.sh
@@ -34,7 +34,7 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
IFS=$(echo -en "\n\b")
for f in *.mp3; do
- echo "$f"
+ echo -e "\033[0;31m$f\033[0m"
read -p "artist [$artist]: " input
artist="${input:-$artist}"