Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion

rClone Sync subdirectories recursively excluding some
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

rClone Sync subdirectories recursively excluding some

mehargagsmehargags Member
edited April 2017 in Help

Hi Everyone... just tried RClone for the first time. Read for about 20 mins but could not get it straight.

I have a deep directory structure with 1000s of images inside 100s of subdirectories to be synced recursively to my Google Drive, but leaving out ./cache , ./thumbnails and a few other dirs.

1 rClone does not copy subdirectories

rclone sync /synctest/images GDrive:/images
this ... only synced files in the dir specified.

Why is it not syncing and creating the directory structure ? What arguments need to be passed to sync all subdirs recursively?

2 How to exclude certain directories

is this right ?
rclone sync /synctest/images GDrive:/images --exclude "/thumbnails/**"

I read you can make and load and exclusion file... but if I only need to exclude one or two directories, what will be the right parameters to pass ?

3 is google-drive-ocamlfuse a reliable and stable pkg

to mount Google Drive and may be use traditional rsync to update file/dir to it ?
https://github.com/astrada/google-drive-ocamlfuse

Comments

Sign In or Register to comment.