ente/README.md
2023-10-18 17:52:41 +05:30

1.2 KiB

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