diff --git a/.bashrc b/.bashrc index 68d1a070e83a80db7273c7f2dfcb1a1e6d6d33fb..8d98bf7529362b45448e9d713947a7d067a50ea8 100644 --- a/.bashrc +++ b/.bashrc @@ -72,7 +72,7 @@ alias hostlocal='docker run --rm --privileged --net=host gliderlabs/hostlocal' alias apt-daily="sudo /bin/sh -c 'apt-get update && apt-get dist-upgrade --download-only --yes && apt-get autoclean'" alias docker-build='docker build -t "$(basename $PWD)" ./' alias cdtemp='cd $(mktemp -d)' -alias 0-day-cleanup='ssh xbmc "sudo -u debian-transmission find /srv/library/Comics -name *.part -path *0-Day\ Week\ of* -delete"' +alias 0-day-cleanup='ssh xbmc.shore.co.il "sudo -u debian-transmission find /srv/library/Comics -name *.part -path *0-Day\ Week\ of* -delete"' alias httpbin='tox -c $HOME/.tox.ini.httpbin --' deduce-aws-region () { @@ -107,8 +107,8 @@ docker-dev () { } sync-comics () { - this_month="$( date '+xbmc:/srv/library/Comics/0-Day\ Week\ of\ %Y.%m.*' )" - last_month="$( date --date '1 month ago' '+xbmc:/srv/library/Comics/0-Day\ Week\ of\ %Y.%m.*' )" + this_month="$( date '+xbmc.shore.co.il:/srv/library/Comics/0-Day\ Week\ of\ %Y.%m.*' )" + last_month="$( date --date '1 month ago' '+xbmc.shore.co.il:/srv/library/Comics/0-Day\ Week\ of\ %Y.%m.*' )" rsync --recursive --compress --progress --exclude "*.part" "$last_month" "$this_month" "$HOME/Downloads/Comics/" }