Sorry for the question, I resolved it as it seems I had to include wildcard:


s3cmd sync --exclude '@eaDir/*' --exclude '.DS_Store/*'
 s3://[bucket]/diskstation/photo/ /Volumes/photo/



That works!

-- Ramon

On Thu, Oct 1, 2015 at 10:44 AM, Ramon Smits <ramon.sm...@gmail.com> wrote:

>
> I'm trying to exclude folders during a sync and I want folders the
> following folder names to be excluded:
>
> .DS_Store
> @eaDir
>
>
> Some possible folders:
>
>
> /diskstation/photo/@eaDir
> /diskstation/photo/holidays/@eaDir/Thumbs.db@SynoEAStream
>
>
> I do know that S3 does not have the concept of folders but I can't seem to
>
>
> I tried this:
>
> s3cmd sync --exclude '@eaDir' --exclude '.DS_Store'
>  s3://[bucket]/diskstation/photo/ /Volumes/photo/
>
>
> and this:
>
> s3cmd sync --exclude '@eaDir/' --exclude '.DS_Store/'
>  s3://[bucket]/diskstation/photo/ /Volumes/photo/
>
>
>
> This does not seem to be correct.
>
>
> Does exclude only work with file names?
>
>
>
>
> -- Ramon
>
------------------------------------------------------------------------------
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general

Reply via email to