On Fri, Jul 20, 2012 at 07:06:33AM -0500, John Sauter wrote:
> Matt,
> 
> When I first attempted to use your merged s3cmd, I found that specifying
> 
>       --exclude='*' --include='*.gpg'
> 
> gave a different result.  Previously, it would include all the gpg files
> in the tree; now it includes only the gpg files at the top level.  You
> noted that you were now applying excludes/includes at local os.walk()
> time--I wonder if this might be the cause of the changed behavior.
> 
> I have reverted to the previous s3cmd, but I will install your new one
> and re-test if you need more details or have a workaround.

You are correct, the way excludes/includes are processed now this
won't work because the * matches all directories during the walk.
You'll have to somehow explicitly include the directories that lead to
each of the *.gpg files.  I need to think about this some more for an
example.

There's also a fairly large failure introduced by the merge such that
sync_local2remote looks awful, unnecessarily duplicated code and
errors with undefined references.  I'll try to fix that up too.

> By the way, it would be easier to discuss your new s3cmd if it had a
> different version number than the s3cmd it is derived from.

Good thought.

Thanks,
Matt

-- 
Matt Domsch
Technology Strategist
Dell | Office of the CTO

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general

Reply via email to