-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Labels
Description
What is the problem you are having with rclone?
I have a crypt remote called b2enc over a b2 remote called b2. rclone sync --create-empty-src-dirs to b2enc seems to have no effect on empty directories. When I rclone mount b2enc:, these directories don't show up. With rclone 1.68.2, sync silently ignores them and doesn't create them on remote. With rclone 1.69.1, sync prints messages like these, but still the directories are not created:
2025/02/22 13:16:35 INFO : DIRECTORY/NAME: Making directory
What is your rclone version (output from rclone version)
rclone v1.69.1
- os/version: arch (64 bit)
- os/kernel: 6.12.9-arch1-1 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.24.0
- go/linking: dynamic
- go/tags: none
Which OS you are using and how many bits (e.g. Windows 7, 64 bit)
Arch Linux, 64-bit
Which cloud storage system are you using? (e.g. Google Drive)
Backblaze
The command you were trying to run (e.g. rclone copy /tmp remote:tmp)
exec rclone sync --create-empty-src-dirs --links --filter-from ~/.config/rclone/filter-home.txt --fast-list --progress --transfers 12 --verbose ~ b2enc:home
A log from the command with the -vv flag (e.g. output from rclone -vv copy /tmp remote:tmp)
2025/02/22 14:20:08 DEBUG : rclone: Version "v1.69.1" starting with parameters ["rclone" "sync" "--create-empty-src-dirs" "--links" "--filter-from" "/home/max/.config/rclone/filter-home.txt" "--fast-list" "--progress" "--transfers" "12" "-vv" "/home/max" "b2enc:home"]
2025/02/22 14:20:08 DEBUG : Creating backend with remote "/home/max"
2025/02/22 14:20:08 DEBUG : Using config file from "/home/max/.config/rclone/rclone.conf"
2025/02/22 14:20:08 DEBUG : Creating backend with remote "b2enc:home"
2025/02/22 14:20:08 DEBUG : Creating backend with remote "b2:backup-XXXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXXXX"
2025/02/22 14:20:10 DEBUG : .ssh: Excluded
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 0.0s
2025/02/22 14:20:10 DEBUG : .cache: Excluded
<...>
2025/02/22 14:26:04 INFO : EMPTY/DIRECTORY/NUMBER/ONE: Making directory
Transferred: 581.914 MiB / 581.914 MiB, 100%, 2.636 MiB/s, ETA 0s
Checks: 532878 / 542881, 98%
Transferred: 9 / 9, 100%
Elapsed time: 5m54.0s
2025/02/22 14:26:04 INFO : EMPTY/DIRECTORY/NUMBER/TWO: Making directory
Transferred: 581.914 MiB / 581.914 MiB, 100%, 2.636 MiB/s, ETA 0s
Checks: 532878 / 542882, 98%
Transferred: 9 / 9, 100%
Elapsed time: 5m54.0s
<...>
2025/02/22 14:26:23 DEBUG : Encrypted drive 'b2enc:home': Waiting for transfers to finish
Transferred: 581.914 MiB / 581.914 MiB, 100%, 742.333 KiB/s, ETA 0s
Checks: 679489 / 679489, 100%
Transferred: 9 / 9, 100%
Elapsed time: 6m13.4s
2025/02/22 14:26:23 DEBUG : Waiting for deletions to finish
Transferred: 581.914 MiB / 581.914 MiB, 100%, 742.333 KiB/s, ETA 0s
Checks: 679489 / 679489, 100%
Transferred: 9 / 9, 100%
Elapsed time: 6m13.4sTransferred: 581.914 MiB / 581.914 MiB, 100%, 742.333 KiB/s, ETA 0s
Checks: 679489 / 679489, 100%
Transferred: 9 / 9, 100%
Elapsed time: 6m13.4s
2025/02/22 14:26:23 INFO :
Transferred: 581.914 MiB / 581.914 MiB, 100%, 742.333 KiB/s, ETA 0s
Checks: 679489 / 679489, 100%
Transferred: 9 / 9, 100%
Elapsed time: 6m13.4s
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
zzrcxb