The Ente CLI is a Command Line Utility for exporting data from Ente. It also does a few more things, for example, you can use it to decrypt the export from Ente Auth.
The easiest way is to download a pre-built binary from the GitHub releases.
You can also build these binaries yourself
./release.shOr you can build from source
go build -o "bin/ente" main.goThe generated binaries are standalone, static binaries with no dependencies. You can run them directly, or put them somewhere in your PATH.
There is also an option to use Docker.
Run the help command to see all available commands.
ente --helpIf you wish, you can add multiple accounts (your own and that of your family members) and export all data using this tool.
ente account addNote
ente account add does not create new accounts, it just adds pre-existing
accounts to the list of accounts that the CLI knows about so that you can use
them for other actions.
ente account listente account update --app auth/photos --email email@domain.com --dir ~/photosente exportYou can view more cli documents at docs. To update the docs, run the following command:
go run main.go docsIf you fancy Docker, you can also run the CLI within a container.
Modify the docker-compose.yml and add volume. cli-data volume is
mandatory, you can add more volumes for your export directory.
Build and run the container in detached mode
docker-compose up -d --buildNote that BuildKit is needed to build
this image. If you face this issue, a quick fix is to add DOCKER_BUILDKIT=1 in
front of the build command.
exec into the container
docker-compose exec ente-cli /bin/sh -c "./ente-cli version"
docker-compose exec ente-cli /bin/sh -c "./ente-cli account add"