Empty Folders are not copied in Windows rclone, is that normal?

What is the problem you are having with rclone?

I try to use rclone to sync data and encrypt them in remote directory.
However, I find that empty folders are not copied.

Run the command 'rclone version' and share the full output of the command.

rclone v1.61.1

  • os/version: Microsoft Windows 10 Enterprise LTSC 2021 21H2 (64 bit)
  • os/kernel: 10.0.19044.2486 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.19.4
  • go/linking: static
  • go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

Samba Share from TrueNAS 12.0U8.1

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone -q sync Y:\test\ encrypt-test:\
rclone -q sync encrypt-test:\ Y:\test2\ 

The rclone config contents with secrets removed.

[encrypt-test]
type = crypt
remote = Y:\encrypt\
password = 
password2 = 

A log from the command with the -vv flag

Paste  log here

hello and welcome to the forum,

https://rclone.org/commands/rclone_sync/
--create-empty-src-dirs Create empty source dirs on destination after sync

Thank you. The follow command do the job.

rclone -q sync Y:\test\ encrypt-test:\ --create-empty-src-dirs
rclone -q sync encrypt-test:\ Y:\test2\ --create-empty-src-dirs

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.