Skip to content

Commit

Permalink
Add -L option to sync so it follows symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
pageauc committed Mar 27, 2018
1 parent fbc04b2 commit fc989cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rclone-samples/rclone-security-sync-recent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rcloneName="gdmedia" # Name of Remote Storage Service
syncRoot="/home/pi/speed-camera" # Root Folder to Start
localDir="media/recent/security" # Source Folder on Local
remoteDir="scam/recent" # Destination Folder on Remote
rcloneParam="sync" # rclone option to perform Eg sync, copy, move
rcloneParam="sync -L" # rclone option to perform Eg sync, copy, move
# IMPORTANT: sync will make remoteDir identical to localDir
# so remoteDir Files that do not exist on localDir will be Deleted.
# ---------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion rclone-security-sync-recent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ rcloneName="gdmedia" # Name of Remote Storage Service
syncRoot="/home/pi/speed-camera" # Root Folder to Start
localDir="media/recent/security" # Source Folder on Local
remoteDir="scam/recent" # Destination Folder on Remote
rcloneParam="sync" # rclone option to perform Eg sync, copy, move
rcloneParam="sync -L" # rclone option to perform Eg sync, copy, move
# IMPORTANT: sync will make remoteDir identical to localDir
# so remoteDir Files that do not exist on localDir will be Deleted.
# ---------------------------------------
Expand Down

0 comments on commit fc989cc

Please sign in to comment.