Open IgnacioHeredia opened 3 months ago
My understanding of the --keep option is :
Without --keep (normal behaviour)
With --keep
What you do is modifying the LOCAL file, hence zenodo_get sees it is not conform to zenodo anymore at step 1, so it downloads it and proceeds with the other steps.
the keep option has nothing to do with KEEPING the already downloaded files when they have been modified...
@serasset That's the correct interpretation, I meant it as "if there is a checksum mismatch, then whether or not keeping the "damaged/mismatched" file.
@IgnacioHeredia So you want to avoid downloading files which are already downloaded? I will look into it, but honestly, I wrote this piece during my phd in a weekend out of annoyance, that reflect code quality and design too, so every time I need to recall the details. I am quite busy, but I will see what I can do.
No worries @dvolgyes , it's not a pressing issue. Thanks for the tool!
Unless I'm missing something very obvious, I don't think
--keep
is working as expected.Reproduce:
--keep
The file seems to be redownloaded again, ignoring
keep
and overwriting my changes. I would expect that the second time nothing is downloaded.Version
1.6.1
.Thanks!