I have a process that generates log files to the local filesystem, and files that are more than 2 weeks old are automatically purged. I want to use the aws command line tools to sync my folder with S3, with the following behavior:
- No sync of files from S3 to local
- Files are not deleted on S3 when they are purged on the local filesystem.
How does S3 sync work in this way?