Skip to content
Snippets Groups Projects
Commit 35380522 authored by nimrod's avatar nimrod
Browse files

- Use FQDN-like names.

parent 075d9aff
No related branches found
No related tags found
No related merge requests found
...@@ -72,7 +72,7 @@ alias hostlocal='docker run --rm --privileged --net=host gliderlabs/hostlocal' ...@@ -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 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 docker-build='docker build -t "$(basename $PWD)" ./'
alias cdtemp='cd $(mktemp -d)' 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 --' alias httpbin='tox -c $HOME/.tox.ini.httpbin --'
deduce-aws-region () { deduce-aws-region () {
...@@ -107,8 +107,8 @@ docker-dev () { ...@@ -107,8 +107,8 @@ docker-dev () {
} }
sync-comics () { sync-comics () {
this_month="$( date '+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:/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/" rsync --recursive --compress --progress --exclude "*.part" "$last_month" "$this_month" "$HOME/Downloads/Comics/"
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment