Hi Aaron,

such a feature would indeed be very welcome. However Amazon S3 has no 
concept of symbolic links - you will have to store them as objects, 
however in some way where it's easy to tell what the object represents 
(file, symlink, ...). Your approach should also be generic enough to 
allow for storing device nodes (minor and major numbers) and directories 
(ownership, mode).

Are you keen to work on that?

Michal

On 06/26/2010 03:06 PM, Aaron Maxwell wrote:
> Hi Michal, everyone,
>
> Right now, "s3cmd sync local_dir s3://remote" will skip over symbolic links,
> and doesn't provide any way to override that behavior.  Is there a plan to
> add this soon?
>
> If not, are you interested in getting a patch for it? I need this
> functionality myself; if it's not already in progress I may be available to
> work on it, if you're interested.
>
> The action I'm talking about takes place in  _get_filelist_local() [0]:
> if os.path.islink(full_name):
>      ## Synchronize symlinks... one day
>      ## for now skip over
>      continue
>
> Cheers,
> Aaron
>
> [0] About line 637 of
> http://s3tools.svn.sourceforge.net/viewvc/s3tools/s3cmd/trunk/s3cmd?view=markup&pathrev=417
>
>


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general

Reply via email to