This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-01-08
Channels
- # aleph (1)
- # architecture (4)
- # aws (5)
- # beginners (105)
- # boot (1)
- # boot-dev (72)
- # cider (5)
- # clara (15)
- # cljs-dev (51)
- # cljsrn (5)
- # clojure (155)
- # clojure-austin (3)
- # clojure-dusseldorf (2)
- # clojure-finland (1)
- # clojure-greece (37)
- # clojure-italy (17)
- # clojure-nl (1)
- # clojure-russia (6)
- # clojure-spec (23)
- # clojure-uk (6)
- # clojurescript (7)
- # community-development (1)
- # css (10)
- # cursive (15)
- # datomic (45)
- # defnpodcast (1)
- # duct (97)
- # emacs (5)
- # fulcro (46)
- # hoplon (8)
- # instaparse (25)
- # keechma (11)
- # leiningen (16)
- # off-topic (2)
- # onyx (9)
- # planck (2)
- # re-frame (5)
- # reagent (3)
- # reitit (2)
- # ring (6)
- # shadow-cljs (35)
- # spacemacs (9)
- # specter (9)
- # sql (18)
- # uncomplicate (4)
Hi, has anyone used the amazonica library to sync files to S3? I’m trying to do the amazonica client equivalent to aws s3 sync
with no luck.. I think I need to use the equivalent of this https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/s3/transfer/TransferManager.html#uploadDirectory-java.lang.String-java.lang.String-java.io.File-boolean- but I can’t figure out how that would look in amazonica…
I've never done it with Amazonica, but I used TransferManager directly and it was straight-foward. I stopped doing that because aws s3 sync was less complex (via a shell call).
@bja thanks, I’ll try that! 🙂 Was originally using shell as well but trying to make it not depend on things being installed on the host
@viktor.holmberg checkout https://github.com/hashobject/boot-s3 and https://github.com/kanej/lein-s3-sync. Maybe you will find some relevant code
Thank @podviaznikov! I had a look through them and they’re both implementing the aws s3 sync functionality from scratch which is cool. But in the end I didn’t have that many files to sync, so I decided to just upload them all each time, overwriting them on the server each time. Not pretty but did the job for me!