Sync with delete - should it clear empty dirs? #66
themagic314
started this conversation in
General
Replies: 2 comments 1 reply
-
This is not really intentional however, from what I recall rsync won't delete such directories either unless |
Beta Was this translation helpful? Give feedback.
0 replies
-
Latest 0.14.2 has the fix to remove the remote directory if no such directory on the local side (if delete is true) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After using the
sync
task with"delete": true
, empty nested folders are not removed when the last file is deleted.Users can solve this by using an additional task with a command like
find /dir/ -empty -type d -delete
after sync.The question is whether this is intended behavior or
sync
should perform a "full" sync, including deleting empty directories.Beta Was this translation helpful? Give feedback.
All reactions