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

- Don't copy partially downloaded comic books.

parent 330f824f
No related branches found
No related tags found
No related merge requests found
......@@ -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 () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment