cli 2.4.4 and 2.9.5 syncs a subfolder "data" even though I --exclude *.* #7593
-
I have been using CLI for some years without any issues. For one of my files I use: To upload just that single file to my bucket, and this has worked well for years. I recently added a subfolder to my folder called "data" I noticed that the same command now includes the data subfolder and all it subfolders. There are six other folders that have never uploaded and still do not. They do not exist in my bucket. If I rename my data folder to datax or xdata it still grabs the files, so its not a hard coded folder name issue. I have tried to exclude the data folder with:
with no success. Here is an example using --dryrun
Version information: aws-cli/2.9.15 Python/3.9.11 Windows/10 exe/AMD64 prompt/off |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @DaleSchultz, thanks for reaching out. I wasn't able to reproduce this behavior. In your exclusion parameter, could you try |
Beta Was this translation helpful? Give feedback.
Hi @DaleSchultz, thanks for reaching out. I wasn't able to reproduce this behavior. In your exclusion parameter, could you try
--exclude "data/*"
? If that doesn't work, could you provide debug logs with sensitive info redacted? You can get debug logs by adding--debug
to your input. Thanks!