RFE: simulate hardlinks with COPY commands #29

Closed
mdomsch opened this Issue Feb 27, 2012 · 2 comments

Projects

None yet

1 participant

@mdomsch
s3tools member

Fedora is starting to use s3cmd sync to mirror package repositories into S3. Fedora master mirrors make extensive use of hardlinks to reduce data size and data transfer from the master mirrors to downstream mirrors. S3 does not have any concept of a hard link, and s3cmd sync uploads the same (hardlinked) data multiple times, which is inefficient.

I would like to see s3cmd sync learn about local hard links, and issue S3 COPY commands after the first upload, for subsequent hardlink targets of the same file, to reduce upload bandwidth and time consumed considerably.

@mdomsch
s3tools member

This is in my copy-hardlinks branch now.

@mdomsch
s3tools member

merged into 1.5.0-alpha1.

@mdomsch mdomsch closed this Mar 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment