From 580ab04b91e20b417db9e012e9eb3db94f825190 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Wed, 12 Apr 2017 17:51:34 +0300 Subject: [PATCH] - Don't copy partially downloaded comic books. --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index c47ae8b..68d1a07 100644 --- a/.bashrc +++ b/.bashrc @@ -109,7 +109,7 @@ 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.*' )" - rsync --recursive --compress --progress "$last_month" "$this_month" "$HOME/Downloads/Comics/" + rsync --recursive --compress --progress --exclude "*.part" "$last_month" "$this_month" "$HOME/Downloads/Comics/" } update-requirements () { -- GitLab