Hi! I really like your app, and I have found it very
useful. However, there's possibly one part I don't
understand, so I'll explain my scenario, and maybe you
can shed some light on the subject.
My usage of cfv consists of ensuring the contents of
roughly 600 files totaling 160 gigs or thereabouts
don't get corrupted. There is a (at points) deep
directory structure containing all of these files. I
have used cfv to create a single .sfv file for each
directory (-r). This part works great.
My problem happens when a new version of a file needs
to be added to the repository. This (and I can't
change this fact) will have an identical name to the
file it is replacing. So, at this point I am
in /dir/subdir1/ and there is a subdir1.sfv file
containing sfv's for all of the files in subdir1. I
now update one or more of the files in subdir1. What
is the best way to update the checksum's of these
files within subdir1? I can manually generate the
checksum, and then insert it into subdir1.sfv but this
seems cumbersome.
If you don't already have a means to do what I'm
asking implemented, what I was thinking would be
something along the lines of (executed from
within /dir/subdir1):
cfv -C -U example_file.txt
I realize -U is already used for something else, but I
couldn't think of anything else to stand for 'update'
that wasn't already used, so I used it anyway. Sorry.
The way I see this functioning, would be that the -U
parameter would instruct cfv to perform as normal, but
instead of producing the error
subdir1.sfv already exists
1 files, 0 OK, 1 chksum file errors. x seconds, xK/s
it would then find example_file.txt's entry within the
subdir1.sfv file, and change it to the new checksum
calculated from example_file.txt.
Does this seem reasonable to you? I would truly
appreciate this feature, but unfortunately my python
abilities are fairly nonexistent, and I doubt I would
be able to accomplish it myself.
I'm aware that this is 15-year necroposting, but I'd like to add a clarifying point.
It seems to me that there are two things one might mean when one says "to update checksum files".
Have I overlooked one of the supported checksum file formats already supporting timestamps/filesizes? (Except for .torrent, since I'd prefer plaintext)