aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-06-21 21:03:28 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-06-21 21:03:28 -0300
commitc7eda3362f02c357367133dc47b6b932adfea26b (patch)
tree00290eb4bd00a0e1b22b09c0ea854f96366fb2a5
parent52da8aa0274352d2083f2317fea501fae7754038 (diff)
downloadscripts-c7eda3362f02c357367133dc47b6b932adfea26b.tar.gz
scripts-c7eda3362f02c357367133dc47b6b932adfea26b.tar.bz2
Delete files at sync-to-kobo
-rwxr-xr-xsync-to-kobo2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync-to-kobo b/sync-to-kobo
index 92fef6f..37e06e1 100755
--- a/sync-to-kobo
+++ b/sync-to-kobo
@@ -24,4 +24,4 @@ if [ ! -d "$BASEFOLDER/$COLLECTION" ]; then
fi
# Dispatch
-lftp -c "open sftp://kobo && mirror -X *.sdr -L -R $BASEFOLDER/$COLLECTION /mnt/sd/$COLLECTION"
+lftp -c "open sftp://kobo && mirror -X *.sdr --delete -L -R $BASEFOLDER/$COLLECTION /mnt/sd/$COLLECTION"