Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add progress bar to upload command #6

Closed
simonw opened this issue Apr 18, 2020 · 2 comments
Closed

Add progress bar to upload command #6

simonw opened this issue Apr 18, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@simonw
Copy link
Contributor

simonw commented Apr 18, 2020

Upload was added in #4

@simonw simonw added the enhancement New feature or request label Apr 18, 2020
@simonw
Copy link
Contributor Author

simonw commented Apr 18, 2020

I'll use a Click progress bar. To do this I need to first calculate the sum number of bytes in the photos that are going to be uploaded, then run the upload.

@simonw
Copy link
Contributor Author

simonw commented Apr 18, 2020

$ photos-to-sqlite upload photos3.db ~/Pictures/Photos\ Library.photoslibrary/Masters/2020
Uploading 2.09 GB  [##----------------------------------]    6%  00:36:37

@simonw simonw closed this as completed in c47d6b9 Apr 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant