-
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
2009-09-09 02:20:32 UTC by sf-robot
-
Thank you for reporting this issue! I believe it is a duplicate.
See also feature request 1532748: Read binary rather than text from standard input at
http://sourceforge.net/tracker/?func=detail&aid=1532748&group_id=74387&atid=540849
A fix has been committed to the java.net cvs respository a while ago.
I'm going to release Jacksum 1.8.0 soon.
Thank you for your patience.
-jonelo.
2009-08-25 18:46:02 UTC by jonelo
-
Dear all,
thanks for providing such a great tool!
There seems to be a bug in Jacksum, that input via stdin gets handled diffently than input via reading from a file. The two lead to different checksums.
Details how to reproduce the bug as well as a patch can be found here http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514299.
I attached a changed class jonelo.jacksum.cli.Jacksum to...
2009-08-21 18:34:56 UTC by r_a_llo
-
It appears that to calculate a sum/hash on the components inside a jar/zipfile, one must first explode the jar/zip, then calculate the desired value.
While that's not a huge burden, it seems to me that using Java's zip/jar API, one could traverse the file to calculate the desired value(s) without exploding the jar/zip. That avoids all the steps (explode to temp dir, calc sum, cleanup temp dir)
2008-05-27 14:15:09 UTC by jerryregan
-
For answers see support request 1925642.
2008-04-13 20:47:23 UTC by jonelo
-
> 1. Add a parameter to strip the path from the file name when generated recursively.
you could use #FILENAME{NAME} to omit the path information.
see also jacksum -h -F
> 2. Add a parameter to append the output to a file instead of overwriting the file with -O
you could use the operating system's append feature (>> for both Windows and Linux)
> 3. Possibility to wrap output in
2008-04-13 20:45:55 UTC by jonelo
-
I'd be grateful if any of the following could be implemented:
1. Add a parameter to strip the path from the file name when generated recursively.
2. Add a parameter to append the output to a file instead of overwriting the file with -O
3. Possibility to wrap output in tags (where it makes sense), but I understand that might go beyond what this project is trying to achieve...
2008-04-12 23:26:25 UTC by jorgosch
-
Ok, this will turn into a request after all, I'll submit that seperately. I've played around a bit with batch files, my goal is to create html output. A very basic file looks like this:
@echo off
echo ^ >> index.html
echo ^ >> index.html
echo ^ >> index.html
echo ^ >> index.html
java -jar "C:\Program Files\Jacksum\jacksum.jar" -a tree:tiger -E base32 -F...
2008-04-12 23:22:47 UTC by jorgosch
-
Sure, how about this?
@echo off
jacksum -a tree:tiger -E base32 -F "magnet:?xt=urn:tree:tiger:#FINGERPRINT&dn=#FILENAME" %*
Alternatively, you can use the Jacksum File Browser Integration for Windows, it provides a batch file which you can customize to generate magnetic links.
2008-04-05 11:24:47 UTC by jonelo
-
That's great news! Could you give me an example how to use this one in a batch file?
urn:tree:tiger
--------------
jacksum -a tree:tiger -E base32 -F
"magnet:?xt=urn:tree:tiger:#FINGERPRINT&dn=#FILENAME" *.
2008-03-27 17:46:53 UTC by jorgosch