rclone/cmd/bisync
Nick Craig-Wood 10eb4742dd sync: fix creation of empty directories when --create-empty-src-dirs=false
In v1.66.0 the changes to enable metadata preservation on directories
introduced a regression, namely that empty directories were created
despite the state of the --create-empty-src-dirs flag.

This patch fixes the problem by letting the normal rclone directory
creation create the directories and fixing up their timestamps and
metadata afterwards if --create-empty-src-dirs=false.

Fixes #7689
See: https://forum.rclone.org/t/empty-dirs-not-wanted/45059/
See: https://forum.rclone.org/t/how-to-ignore-empty-directories-when-uploading-from-windows/45057/
2024-05-03 12:29:18 +01:00
..
bilib bisync: fix io.PipeWriter not getting closed on tests 2024-04-07 21:55:26 -04:00
testdata bisync: make session path even shorter on tests 2024-04-16 14:45:54 -04:00
bisync_debug_test.go bisync: add to integration tests - fixes #7665 2024-03-27 10:50:14 -04:00
bisync_test.go sync: fix creation of empty directories when --create-empty-src-dirs=false 2024-05-03 12:29:18 +01:00
checkfn.go bisync: add --resync-mode for customizing --resync - fixes #5681 2024-01-20 17:17:01 -05:00
cmd.go bisync: use global --retries and --retries-sleep flags instead of overriding 2024-02-12 13:24:54 -05:00
compare.go bisync: full support for comparing checksum, size, modtime - fixes #5679 fixes #5683 fixes #5684 fixes #5675 2024-01-20 16:08:06 -05:00
deltas.go bisync: add options to auto-resolve conflicts - fixes #7471 2024-01-20 17:17:01 -05:00
help.go bisync: document beta status more clearly - fixes #6082 2024-01-20 15:38:26 -05:00
LICENSE.cjnaz bisync: implementation #5164 2021-11-01 21:00:27 +03:00
listing.go bisync: add options to auto-resolve conflicts - fixes #7471 2024-01-20 17:17:01 -05:00
lockfile.go bisync: fix endless loop if lockfile decoder errors 2024-04-10 16:33:05 +01:00
log.go bisync: clarify file operation directions in dry-run logs - fixes #7029 2024-03-06 09:26:53 -05:00
march.go bisync: Graceful Shutdown, --recover from interruptions without --resync - fixes #7470 2024-01-20 16:31:28 -05:00
operations.go bisync: add support for --retries-sleep - fixes #7555 2024-02-12 13:24:54 -05:00
queue.go bisync: use global --retries and --retries-sleep flags instead of overriding 2024-02-12 13:24:54 -05:00
rc.go bisync: support two --backup-dir paths on different remotes 2024-01-20 14:50:08 -05:00
resolve.go bisync: several fixes for integration tests 2024-03-30 13:39:44 -04:00
resync.go bisync: add --resync-mode for customizing --resync - fixes #5681 2024-01-20 17:17:01 -05:00