http://hints.macworld.com/article.php?story=20130722033452283
get_pw () { security 2>&1 >/dev/null find-generic-password -ga $USER |ruby -e 'print $1 if STDIN.gets =~ /^password: "(.*)"$/' } mkdir ~/Data mount -t afp afp://$USER:$(get_pw)@10.0.77.3/Data ~/Data