cjnaz / rclonesync-V2

A Bidirectional Cloud Sync Utility using rclone
MIT License
355 stars 39 forks source link

Adding Support for Symlinks #41

Closed coletonodonnell closed 4 years ago

coletonodonnell commented 4 years ago

I really need bidirectional sync, but my setup relies heavily on symlinks. Would it be possible to include a symlink follow modifier to the script similar to rsync?

./rclonesync.py /path/ /path/ -whatevercommands -L

Then it would allow it to follow symlinks.

cjnaz commented 4 years ago

Checkout the --rclone-args switch. Put this switch as the last switch on your command line and follow it the the -L switch which will get passed to rclone. Viola, symlinks are followed. Please close this issue if all is well. Recognize that it's rclone that is doing the work here, so try to distinguish any issues between rclone and rlconesync.

$ rclonesync.py localsyncroot Remote:  --rclone-args -L 
coletonodonnell commented 4 years ago

Oh, makes sense must've missed that part...

Thank you for that, I will close this.