diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-06-21 21:03:28 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-06-21 21:03:28 -0300 |
commit | c7eda3362f02c357367133dc47b6b932adfea26b (patch) | |
tree | 00290eb4bd00a0e1b22b09c0ea854f96366fb2a5 | |
parent | 52da8aa0274352d2083f2317fea501fae7754038 (diff) | |
download | scripts-c7eda3362f02c357367133dc47b6b932adfea26b.tar.gz scripts-c7eda3362f02c357367133dc47b6b932adfea26b.tar.bz2 |
Delete files at sync-to-kobo
-rwxr-xr-x | sync-to-kobo | 2 |
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" |