General Category => Feature Requests => Topic started by: morgant on November 24, 2009, 08:05:42 AM

Title: Forcing symlink following?
Post by: morgant on November 24, 2009, 08:05:42 AM
I've got a directory that contains symlinks to the most recent of all nightly snapshots, but obviously s3sync only syncs what could be restored as a symlink, not the file the symlink points to:

Quote from: http://s3sync.net/forum/index.php?topic=98.msg389#msg389
S3sync never "follows" symlinks as this would make the restore operation incorrect.  It saves the symlink in a way that will restore as a symlink.

Would it be possible to add some kind of --follow-symlinks option that could be used in situations like this? Obviously I'd really like to save the gigs of storage space (and time to rewrite scripts) that would be required if I have to copy all the snapshots to that directory. There must be others that have similar use cases that would find such an option useful.

Edit: I probably should've posted this as a feature request.