aws / aws/aws-cli

aws s3 sync traverses excluded directory - takes up a long time

Open
#1,138 11 comments 0 reactions 0 assignees View on GitHub
community contribution-ready feature-request p2 s3
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

This has been discussed elsewhere but I wasn't sure what the response was. I wanted to see if there would be an ability to stop SYNC from traversing an excluded directory because it takes up a lot of time.

When you do a sync from ~/ with --exclude "STAR" and --include "~/Documents/STAR" for example, the sync operation still takes many minutes to complete because it walks through every single file in every directory in the user's home folder. I wish I knew enough to get into the actual code, but I'm wondering if you could stop the SYNC operation from doing this?

Thank you

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.