uktrade / mobius3

Continuously sync folder to S3, using inotify under the hood
MIT License
50 stars 3 forks source link

Upload or Download only? #37

Closed boxrick closed 4 years ago

boxrick commented 4 years ago

This is more of a question than an issue, does mobius3 support upload or download only rather than keeping everything in sync?

In my case, I am running SFTP within Fargate ECS and just want to upload the files and forget about them.

michalc commented 4 years ago

@boxrick You could probably use the --exclude-remote command line argument, which should be followed by a regex of keys to ignore on the remote side. Something like --exclude-remote '.*' would probably not download anything from the remote, S3, to the local filesystem. I think it would still poll S3 every so often, and go through the list of objects, but it should ignore each one.

michalc commented 4 years ago

Will probably close this issue due to inactivity soon.