juicedata / juicesync

A tool to move your data between any clouds or regions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support copying symlink

yujunz opened this issue · comments

When syncing from file:// to object storage, it would be nice to support symlink by copying content like rclone copy $DIST_BASE/ $RCLONE_DST --copy-links

Currently it throws an error

+ mkdir -p release/dist/channels
+ ln -fnsv ../branches/release-juicesync release/dist/channels/stable
'release/dist/channels/stable' -> '../branches/release-juicesync'
+ juicesync release/dist oss://***:***@jfs-release.oss-cn-hongkong.aliyuncs.com/dist
2020/01/02 12:57:38.829321 <INFO>: Syncing between file:///home/runner/work/jfs/jfs/release/dist/ and oss://jfs-release/dist (starting from "")
2020/01/02 12:57:45.926890 <ERROR>: Failed to copy channels/stable: read /home/runner/work/jfs/jfs/release/dist/channels/stable: is a directory

Closed by fe99dd9