From ee58c8ddc6f79ad7501981fb893be10dce965e99 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Sun, 4 Nov 2012 12:03:49 -0800 Subject: [PATCH] Add alias to push everything in the podcasts directory to a podcast mount Make an alias out of what was a script --- bash/aliases | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bash/aliases b/bash/aliases index b86e5ca..f8eb331 100644 --- a/bash/aliases +++ b/bash/aliases @@ -56,6 +56,8 @@ alias simple-http-server='python -m SimpleHTTPServer' alias numfiles='find . -maxdepth 1 -type f | wc -l' alias deepgrep='find . -type f | sed "s/$/\"/g" | sed "s/^/\"/g" | xargs grep --color ' +alias push-to-player="rsync -recursive --verbose --times --modify-window=1 --delete $pods_dir `mount -l | awk '/podcasts/ {print $3}'`/podcast/" + # Move around to common locations alias desktop="cd $desktop_dir" alias podcasts="cd $pods_dir"