Hi Dick,

s3cmd 0.9.9 will do the same. At least now you can use --dry-run to see
what *would* be deleted if it was a real run.

But you're right, exit with an error when attempting to sync a
non-existent directory sounds safer. I'll add it to my TODO list. Thanks
for heads up.

Michal

Dick Middleton wrote:
> Hi,
> 
>       I don't know if this exists on latest version; I'm still using 0.9.8.3.
> 
> If you sync a local directory which doesn't exist (e.g. typo!) and have 
> option 
> --delete-removed then s3cmd will happily delete all remote files.
> 
> I think it would be better if s3cmd terminated with an error if local dir was 
> not found.
> 
> Dick
> 
> 
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> S3tools-general mailing list
> S3tools-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/s3tools-general
> 


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general

Reply via email to