I figured out why s3sync was always uploading everything every time. It turns out that it was appending the source directory path into the target path.
e.g. if I run:
s3sync sync source aws.example.com:target
- source/README.txt => aws.example.com:target/source/README.txt
Using the full path doesn't work either:
s3sync sync /Users/guest/source aws.example.com:target
- /Users/guest/source/README.txt => aws.example.com:target/Users/guest/source/README.txt
Using the current working directory doesn't work either:
s3sync sync . aws.example.com:target
- ./README.txt => aws.example.com:target/./README.txt
I thought the above would work, but apparently target/README.txt is a different path than target/./README.txt
Any guidance would be appreciated.