Dobrý den
našel jsem chybu v pluginu checksum, když vytvořím kontrolní součet pro jeden soubor, na konec souboru je přidán enter, ale ten tam nepatří, proto v linuxu ověření neproběhne korektně, zahlásí chybu souboru, pokud enter odstraním, je všechno OK.
Checksum: Linux problem
Re: Checksum: Linux problem
md5sum několik možností pro nastavení režimu čtení.
-b = binární
-t = text
Budu předpokládat, že Salamander Kontrolní vždy pracuje v binární.
(md5sum výchozí hodnota je v binárním systému Windows.)
Md5sum, pokud byly použity v textovém režimu (v Linuxu), existuje možnost rozdíl.
Takže síla md5sum použít binární režim.
md5sum-b <soubor>
Viz md5sum - help
-b = binární
-t = text
Budu předpokládat, že Salamander Kontrolní vždy pracuje v binární.
(md5sum výchozí hodnota je v binárním systému Windows.)
Md5sum, pokud byly použity v textovém režimu (v Linuxu), existuje možnost rozdíl.
Takže síla md5sum použít binární režim.
md5sum-b <soubor>
Viz md5sum - help
Code: Select all
E:\RUBEN>md5sum --help
Usage: c:/bin/unix/md5sum.exe [OPTION] [FILE]...
or: c:/bin/unix/md5sum.exe [OPTION] --check [FILE]
Print or check MD5 checksums.
With no FILE, or when FILE is -, read standard input.
-b, --binary read files in binary mode (default on DOS/Windows)
-c, --check check MD5 sums against given list
-t, --text read files in text mode (default)
The following two options are useful only when verifying checksums:
--status don't output anything, status code shows success
-w, --warn warn about improperly formated MD5 checksum lines
--help display this help and exit
--version output version information and exit
The sums are computed as described in RFC 1321. When checking, the input
should be a former output of this program. The default mode is to print
a line with checksum, a character indicating type (`*' for binary, ` ' for
text), and name for each FILE.
WinXP Pro SP3 or Win7 x86 | SS 2.54