Hi guys, I have a question about download objects ...
# help
m
Hi guys, I have a question about download objects from a repo through lakefs://repo/data/data.csv
e
Hi @Mẫn Phạm, Sure, what’s the question?
m
Suppose I got lakefs://repo/data/data.csv, I want to cp data.csv to local like aws s3 cp syntax @Elad Lachmi
How could I do that. Thanks
e
Do you have
lakectl
set up locally?
(that’s the lakeFS CLI tool)
You can find instructions for setting up
lakectl
here: https://docs.lakefs.io/reference/cli.html#installing-lakectl-locally
❤️ 1
m
Thanks let me check it out
lakefs 1
e
With
lakectl
installed and configured to access your lakeFS server (according to the instructions in the link above) You have two main options: 1. If you want a simple way to download a file from lakeFS, you can use this command 2. If your use case requires syncing between lakeFS and the local file system, please look at
lakectl local
here. (This is more advanced but very handy for some use cases)
a
Hi @Mẫn Phạm, As an alternative to @Elad Lachmi’s great explanations about how to use lakectl, you can of course continue to use to AWS CLI! (One problem when getting started is that we try to fit many workflows... so it sometimes feels like there are too many ways to do something...)
gratitude thank you 1
e
Great point @Ariel Shaqed (Scolnicov)! Thanks! 🙏🏻