Rsync question re:Directories and Subdirectories

What is the problem you are having with rclone?

I'm trying to understand how rclone sync works across Directories and Subdirectories. On Source, I have:
I would like to rclone sync to External Drive/Pictures/Yr/Folders/Files.
Is there a way to do this without having to run the command for each year individually? In other words, such as

rclone sync Source:Pictures Destination/Pictures

and have all subdirectories be synched accordingly?

I tried Filtering where I had a file with a list of folders for a specific year, but I had to put folder/** for each of the folders in the Filter text file.

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

rclone v1.60.1

  • os/version: darwin 12.6.1 (64 bit)

  • os/kernel: 21.6.0 (x86_64)

  • os/type: darwin

  • os/arch: amd64

  • go/version: go1.19.3

  • go/linking: dynamic

  • go/tags: cmount

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


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

rclone sync Dropbox:Pictures/'2014 Pics' /Volumes/LaCie/Pictures --dry-run

The rclone config contents with secrets removed.

Paste config here

A log from the command with the -vv flag

Paste  log here

Hi David,

rclone sync will recurse into subdirectories by default (no need for filters), so this should sync everything below Dropbox:Pictures into /Volumes/LaCie/Pictures:

rclone sync Dropbox:Pictures /Volumes/LaCie/Pictures --dry-run

You may want to add --create-empty-src-dirs, if you also want to create any empty directories on the external drive.

Thank you, Ole. I thought it would recurse automatically, but I was doing something wrong. Anyhow, it seems to be working now. I guess it was simpler than I made it out to be. I appreciate the help.

1 Like

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