Fully open source, End to End Encrypted alternative to Google Photos and Apple Photos
Find a file
2023-10-20 13:20:49 +05:30
cmd
internal
pkg
utils
.gitignore
config.yaml
docker-compose.yml
Dockerfile
Dockerfile-x86
go.mod
go.sum
main.go
README.md
release.sh

cli tool for exporting data from ente.io

You can configure multiple accounts for export

Getting Started

Accounts

  • Add an account

    ente-cli account add
    
  • List accounts

    ente-cli account list
    
  • Change export directory

    ente-cli account update --email yourEmail@example.com --dir ~/photos 
    

Export

  • Start export
    ente-cli export
    

Docker

Configure

Modify the docker-compose.yml and add volume. cli-data volume is mandatory, you can add more volumes for your export directory.

  • Build the docker image
docker build -t ente-cli:latest .
  • Start the container in detached mode
docker-compose up -d

exec into the container

  docker-compose exec ente-cli /bin/sh

How to directly execute the command

  docker run -it --rm ente-cli:latest ls 

Build locally

Run the release script to build the binary and run it.

  ./release.sh

or you can run the following command

 go build -o "bin/ente-cli" main.go
./bin/ente-cli --help