TheFox / flickr-cli

A command-line interface to Flickr. Upload and download photos, photo sets, directories via shell.
https://fox21.at
25 stars 9 forks source link

Add new 'checksums' command, to add sha1 or md5 machine tags. #34

Open samwilson opened 6 years ago

samwilson commented 6 years ago

Refs #20

samwilson commented 6 years ago

I thought of that, but this seems a separate operation. Do you think it'd be better as part of the download command?

I guess it would then also make sense to check for the existence of checksum tags when downloading, and verify the downloads.

And I think the tag re-adding is wrong here! It probably has to re-add them in their "raw" form, i.e. not these concatenated and lowercase form.

samwilson commented 6 years ago

I've rejigged this to work correctly with adding the new tag.

It's still a separate command, because I think it makes it more flexible this way. We could still add a checksum check to the download command though.

What do you think?