dogsheep / dogsheep-photos

Upload your photos to S3 and import metadata about them into a SQLite database
Apache License 2.0
170 stars 15 forks source link

upload command should be resumable, should only upload photos not already uploaded #9

Closed simonw closed 4 years ago

simonw commented 4 years ago

Follow on from #4.

simonw commented 4 years ago
% photos-to-sqlite upload photos.db ~/Pictures/Photos\ Library.photoslibrary/originals
Fetching existing keys from S3...
Got 22,446 existing keys
Calculating hashes  [####--------------------------------]   13%  00:04:14
simonw commented 4 years ago

A few minutes later...

Fetching existing keys from S3...
Got 22,446 existing keys
Calculating hashes  [####################################]  100%          
22,441 hashed files, 610 are not yet in S3
Uploading 0.99 GB
Uploading 610 photos  [------------------------------------]  1/610  03:10:35