@@ -956,22 +956,22 @@ <h2 id="options-1"><a class="header" href="#options-1">Options</a></h2>
956
956
</ dd >
957
957
</ dl >
958
958
< h2 id ="examples-1 "> < a class ="header " href ="#examples-1 "> Examples</ a > </ h2 >
959
- < p > Calculate the BLAKE2 checksum for a file :</ p >
960
- < pre > < code class ="language-shell "> b2sum {{path/to/file }}
959
+ < p > Calculate the BLAKE2 checksum for one or more files :</ p >
960
+ < pre > < code class ="language-shell "> b2sum {{path/to/file1 path/to/file2 ... }}
961
961
</ code > </ pre >
962
- < p > Calculate BLAKE2 checksums for multiple files :</ p >
963
- < pre > < code class ="language-shell "> b2sum {{path/to/file1}} {{path/to/file2 }}
962
+ < p > Calculate and save the list of BLAKE2 checksums to a file :</ p >
963
+ < pre > < code class ="language-shell "> b2sum {{path/to/file1 path/to/file2 ... }} > {{path/to/file.b2 }}
964
964
</ code > </ pre >
965
- < p > Calculate the BLAKE2 checksum from < code > stdin</ code > :</ p >
966
- < pre > < code class ="language-shell "> {{some_command }} | b2sum
965
+ < p > Calculate a BLAKE2 checksum from < code > stdin</ code > :</ p >
966
+ < pre > < code class ="language-shell "> {{command }} | b2sum
967
967
</ code > </ pre >
968
968
< p > Read a file of BLAKE2 sums and filenames and verify all files have matching checksums:</ p >
969
969
< pre > < code class ="language-shell "> b2sum --check {{path/to/file.b2}}
970
970
</ code > </ pre >
971
971
< p > Only show a message for missing files or when verification fails:</ p >
972
972
< pre > < code class ="language-shell "> b2sum --check --quiet {{path/to/file.b2}}
973
973
</ code > </ pre >
974
- < p > Only show a message for files for which verification fails, ignoring missing files:</ p >
974
+ < p > Only show a message when verification fails, ignoring missing files:</ p >
975
975
< pre > < code class ="language-shell "> b2sum --ignore-missing --check --quiet {{path/to/file.b2}}
976
976
</ code > </ pre >
977
977
< blockquote >
@@ -1034,21 +1034,21 @@ <h2 id="options-2"><a class="header" href="#options-2">Options</a></h2>
1034
1034
</ dd >
1035
1035
</ dl >
1036
1036
< h2 id ="examples-2 "> < a class ="header " href ="#examples-2 "> Examples</ a > </ h2 >
1037
- < p > Calculate the BLAKE3 checksum for a file :</ p >
1038
- < pre > < code class ="language-shell "> b3sum {{path/to/file }}
1037
+ < p > Calculate the BLAKE3 checksum for one or more files :</ p >
1038
+ < pre > < code class ="language-shell "> b3sum {{path/to/file1 path/to/file2 ... }}
1039
1039
</ code > </ pre >
1040
- < p > Calculate BLAKE3 checksums for multiple files :</ p >
1041
- < pre > < code class ="language-shell "> b3sum {{path/to/file1}} {{path/to/file2 }}
1040
+ < p > Calculate and save the list of BLAKE3 checksums to a file :</ p >
1041
+ < pre > < code class ="language-shell "> b3sum {{path/to/file1 path/to/file2 ... }} > {{path/to/file.b3 }}
1042
1042
</ code > </ pre >
1043
- < p > Calculate the BLAKE3 checksum from < code > stdin</ code > :</ p >
1044
- < pre > < code class ="language-shell "> {{some_command }} | b3sum
1043
+ < p > Calculate a BLAKE3 checksum from < code > stdin</ code > :</ p >
1044
+ < pre > < code class ="language-shell "> {{command }} | b3sum
1045
1045
</ code > </ pre >
1046
- < p > Create a file of BLAKE3 checksums:</ p >
1047
- < pre > < code class ="language-shell "> b3sum {{path/to/file}} > {{path/to/file.b3}}
1048
- </ code > </ pre >
1049
- < p > Read and verify a file of BLAKE3 checksums:</ p >
1046
+ < p > Read a file of BLAKE3 sums and filenames and verify all files have matching checksums:</ p >
1050
1047
< pre > < code class ="language-shell "> b3sum --check {{path/to/file.b3}}
1051
1048
</ code > </ pre >
1049
+ < p > Only show a message for missing files or when verification fails:</ p >
1050
+ < pre > < code class ="language-shell "> b3sum --check --quiet {{path/to/file.b3}}
1051
+ </ code > </ pre >
1052
1052
< blockquote >
1053
1053
< p > The examples are provided by the < a href ="https://tldr.sh "> tldr-pages project</ a > under the < a href ="https://github.com/tldr-pages/tldr/blob/main/LICENSE.md "> CC BY 4.0 License</ a > .</ p >
1054
1054
< p > Please note that, as uutils is a work in progress, some examples might fail.</ p >
@@ -4768,22 +4768,22 @@ <h2 id="options-46"><a class="header" href="#options-46">Options</a></h2>
4768
4768
</ dd >
4769
4769
</ dl >
4770
4770
< h2 id ="examples-45 "> < a class ="header " href ="#examples-45 "> Examples</ a > </ h2 >
4771
- < p > Calculate the MD5 checksum for a file :</ p >
4772
- < pre > < code class ="language-shell "> md5sum {{path/to/file }}
4771
+ < p > Calculate the MD5 checksum for one or more files :</ p >
4772
+ < pre > < code class ="language-shell "> md5sum {{path/to/file1 path/to/file2 ... }}
4773
4773
</ code > </ pre >
4774
- < p > Calculate MD5 checksums for multiple files :</ p >
4775
- < pre > < code class ="language-shell "> md5sum {{path/to/file1}} {{path/to/file2 }}
4774
+ < p > Calculate and save the list of MD5 checksums to a file :</ p >
4775
+ < pre > < code class ="language-shell "> md5sum {{path/to/file1 path/to/file2 ... }} > {{path/to/file.md5 }}
4776
4776
</ code > </ pre >
4777
4777
< p > Calculate an MD5 checksum from < code > stdin</ code > :</ p >
4778
- < pre > < code class ="language-shell "> {{some_command}}" | md5sum
4778
+ < pre > < code class ="language-shell "> {{command}} | md5sum
4779
4779
</ code > </ pre >
4780
- < p > Read a file of MD5SUMs and verify all files have matching checksums:</ p >
4780
+ < p > Read a file of MD5 sums and filenames and verify all files have matching checksums:</ p >
4781
4781
< pre > < code class ="language-shell "> md5sum --check {{path/to/file.md5}}
4782
4782
</ code > </ pre >
4783
4783
< p > Only show a message for missing files or when verification fails:</ p >
4784
4784
< pre > < code class ="language-shell "> md5sum --check --quiet {{path/to/file.md5}}
4785
4785
</ code > </ pre >
4786
- < p > Only show a message for files for which verification fails, ignoring missing files:</ p >
4786
+ < p > Only show a message when verification fails, ignoring missing files:</ p >
4787
4787
< pre > < code class ="language-shell "> md5sum --ignore-missing --check --quiet {{path/to/file.md5}}
4788
4788
</ code > </ pre >
4789
4789
< blockquote >
@@ -6887,22 +6887,22 @@ <h2 id="options-74"><a class="header" href="#options-74">Options</a></h2>
6887
6887
</ dd >
6888
6888
</ dl >
6889
6889
< h2 id ="examples-72 "> < a class ="header " href ="#examples-72 "> Examples</ a > </ h2 >
6890
- < p > Calculate the SHA1 checksum for a file:</ p >
6891
- < pre > < code class ="language-shell "> sha1sum {{path/to/file}}
6892
- </ code > </ pre >
6893
- < p > Calculate SHA1 checksums for multiple files:</ p >
6894
- < pre > < code class ="language-shell "> sha1sum {{path/to/file1}} {{path/to/file2}}
6890
+ < p > Calculate the SHA1 checksum for one or more files:</ p >
6891
+ < pre > < code class ="language-shell "> sha1sum {{path/to/file1 path/to/file2 ...}}
6895
6892
</ code > </ pre >
6896
6893
< p > Calculate and save the list of SHA1 checksums to a file:</ p >
6897
- < pre > < code class ="language-shell "> sha1sum {{path/to/file1}} {{ path/to/file2}} > {{path/to/file.sha1}}
6894
+ < pre > < code class ="language-shell "> sha1sum {{path/to/file1 path/to/file2 ... }} > {{path/to/file.sha1}}
6898
6895
</ code > </ pre >
6899
- < p > Read a file of SHA1 sums and verify all files have matching checksums:</ p >
6896
+ < p > Calculate a SHA1 checksum from < code > stdin</ code > :</ p >
6897
+ < pre > < code class ="language-shell "> {{command}} | sha1sum
6898
+ </ code > </ pre >
6899
+ < p > Read a file of SHA1 sums and filenames and verify all files have matching checksums:</ p >
6900
6900
< pre > < code class ="language-shell "> sha1sum --check {{path/to/file.sha1}}
6901
6901
</ code > </ pre >
6902
6902
< p > Only show a message for missing files or when verification fails:</ p >
6903
6903
< pre > < code class ="language-shell "> sha1sum --check --quiet {{path/to/file.sha1}}
6904
6904
</ code > </ pre >
6905
- < p > Only show a message for files for which verification fails, ignoring missing files:</ p >
6905
+ < p > Only show a message when verification fails, ignoring missing files:</ p >
6906
6906
< pre > < code class ="language-shell "> sha1sum --ignore-missing --check --quiet {{path/to/file.sha1}}
6907
6907
</ code > </ pre >
6908
6908
< blockquote >
@@ -6961,22 +6961,22 @@ <h2 id="options-75"><a class="header" href="#options-75">Options</a></h2>
6961
6961
</ dd >
6962
6962
</ dl >
6963
6963
< h2 id ="examples-73 "> < a class ="header " href ="#examples-73 "> Examples</ a > </ h2 >
6964
- < p > Calculate the SHA224 checksum for a file:</ p >
6965
- < pre > < code class ="language-shell "> sha224sum {{path/to/file}}
6966
- </ code > </ pre >
6967
- < p > Calculate SHA224 checksums for multiple files:</ p >
6968
- < pre > < code class ="language-shell "> sha224sum {{path/to/file1}} {{path/to/file2}}
6964
+ < p > Calculate the SHA224 checksum for one or more files:</ p >
6965
+ < pre > < code class ="language-shell "> sha224sum {{path/to/file1 path/to/file2 ...}}
6969
6966
</ code > </ pre >
6970
6967
< p > Calculate and save the list of SHA224 checksums to a file:</ p >
6971
- < pre > < code class ="language-shell "> sha224sum {{path/to/file1}} {{path/to/file2}} > {{path/to/file.sha224}}
6968
+ < pre > < code class ="language-shell "> sha224sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha224}}
6969
+ </ code > </ pre >
6970
+ < p > Calculate a SHA224 checksum from < code > stdin</ code > :</ p >
6971
+ < pre > < code class ="language-shell "> {{command}} | sha224sum
6972
6972
</ code > </ pre >
6973
- < p > Read a file of SHA224 sums and verify all files have matching checksums:</ p >
6973
+ < p > Read a file of SHA224 sums and filenames and verify all files have matching checksums:</ p >
6974
6974
< pre > < code class ="language-shell "> sha224sum --check {{path/to/file.sha224}}
6975
6975
</ code > </ pre >
6976
6976
< p > Only show a message for missing files or when verification fails:</ p >
6977
6977
< pre > < code class ="language-shell "> sha224sum --check --quiet {{path/to/file.sha224}}
6978
6978
</ code > </ pre >
6979
- < p > Only show a message for files for which verification fails, ignoring missing files:</ p >
6979
+ < p > Only show a message when verification fails, ignoring missing files:</ p >
6980
6980
< pre > < code class ="language-shell "> sha224sum --ignore-missing --check --quiet {{path/to/file.sha224}}
6981
6981
</ code > </ pre >
6982
6982
< blockquote >
@@ -7035,22 +7035,22 @@ <h2 id="options-76"><a class="header" href="#options-76">Options</a></h2>
7035
7035
</ dd >
7036
7036
</ dl >
7037
7037
< h2 id ="examples-74 "> < a class ="header " href ="#examples-74 "> Examples</ a > </ h2 >
7038
- < p > Calculate the SHA256 checksum for a file:</ p >
7039
- < pre > < code class ="language-shell "> sha256sum {{path/to/file}}
7040
- </ code > </ pre >
7041
- < p > Calculate SHA256 checksums for multiple files:</ p >
7042
- < pre > < code class ="language-shell "> sha256sum {{path/to/file1}} {{path/to/file2}}
7038
+ < p > Calculate the SHA256 checksum for one or more files:</ p >
7039
+ < pre > < code class ="language-shell "> sha256sum {{path/to/file1 path/to/file2 ...}}
7043
7040
</ code > </ pre >
7044
7041
< p > Calculate and save the list of SHA256 checksums to a file:</ p >
7045
- < pre > < code class ="language-shell "> sha256sum {{path/to/file1}} {{path/to/file2}} > {{path/to/file.sha256}}
7042
+ < pre > < code class ="language-shell "> sha256sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha256}}
7043
+ </ code > </ pre >
7044
+ < p > Calculate a SHA256 checksum from < code > stdin</ code > :</ p >
7045
+ < pre > < code class ="language-shell "> {{command}} | sha256sum
7046
7046
</ code > </ pre >
7047
- < p > Read a file of SHA256 sums and verify all files have matching checksums:</ p >
7047
+ < p > Read a file of SHA256 sums and filenames and verify all files have matching checksums:</ p >
7048
7048
< pre > < code class ="language-shell "> sha256sum --check {{path/to/file.sha256}}
7049
7049
</ code > </ pre >
7050
7050
< p > Only show a message for missing files or when verification fails:</ p >
7051
7051
< pre > < code class ="language-shell "> sha256sum --check --quiet {{path/to/file.sha256}}
7052
7052
</ code > </ pre >
7053
- < p > Only show a message for files for which verification fails, ignoring missing files:</ p >
7053
+ < p > Only show a message when verification fails, ignoring missing files:</ p >
7054
7054
< pre > < code class ="language-shell "> sha256sum --ignore-missing --check --quiet {{path/to/file.sha256}}
7055
7055
</ code > </ pre >
7056
7056
< blockquote >
@@ -7313,22 +7313,22 @@ <h2 id="options-81"><a class="header" href="#options-81">Options</a></h2>
7313
7313
</ dd >
7314
7314
</ dl >
7315
7315
< h2 id ="examples-75 "> < a class ="header " href ="#examples-75 "> Examples</ a > </ h2 >
7316
- < p > Calculate the SHA384 checksum for a file:</ p >
7317
- < pre > < code class ="language-shell "> sha384sum {{path/to/file}}
7318
- </ code > </ pre >
7319
- < p > Calculate SHA384 checksums for multiple files:</ p >
7320
- < pre > < code class ="language-shell "> sha384sum {{path/to/file1}} {{path/to/file2}}
7316
+ < p > Calculate the SHA384 checksum for one or more files:</ p >
7317
+ < pre > < code class ="language-shell "> sha384sum {{path/to/file1 path/to/file2 ...}}
7321
7318
</ code > </ pre >
7322
7319
< p > Calculate and save the list of SHA384 checksums to a file:</ p >
7323
- < pre > < code class ="language-shell "> sha384sum {{path/to/file1}} {{ path/to/file2}} > {{path/to/file.sha384}}
7320
+ < pre > < code class ="language-shell "> sha384sum {{path/to/file1 path/to/file2 ... }} > {{path/to/file.sha384}}
7324
7321
</ code > </ pre >
7325
- < p > Read a file of SHA384 sums and verify all files have matching checksums:</ p >
7322
+ < p > Calculate a SHA384 checksum from < code > stdin</ code > :</ p >
7323
+ < pre > < code class ="language-shell "> {{command}} | sha384sum
7324
+ </ code > </ pre >
7325
+ < p > Read a file of SHA384 sums and filenames and verify all files have matching checksums:</ p >
7326
7326
< pre > < code class ="language-shell "> sha384sum --check {{path/to/file.sha384}}
7327
7327
</ code > </ pre >
7328
7328
< p > Only show a message for missing files or when verification fails:</ p >
7329
7329
< pre > < code class ="language-shell "> sha384sum --check --quiet {{path/to/file.sha384}}
7330
7330
</ code > </ pre >
7331
- < p > Only show a message for files for which verification fails, ignoring missing files:</ p >
7331
+ < p > Only show a message when verification fails, ignoring missing files:</ p >
7332
7332
< pre > < code class ="language-shell "> sha384sum --ignore-missing --check --quiet {{path/to/file.sha384}}
7333
7333
</ code > </ pre >
7334
7334
< blockquote >
@@ -7442,22 +7442,22 @@ <h2 id="options-83"><a class="header" href="#options-83">Options</a></h2>
7442
7442
</ dd >
7443
7443
</ dl >
7444
7444
< h2 id ="examples-76 "> < a class ="header " href ="#examples-76 "> Examples</ a > </ h2 >
7445
- < p > Calculate the SHA512 checksum for a file:</ p >
7446
- < pre > < code class ="language-shell "> sha512sum {{path/to/file}}
7447
- </ code > </ pre >
7448
- < p > Calculate SHA512 checksums for multiple files:</ p >
7449
- < pre > < code class ="language-shell "> sha512sum {{path/to/file1}} {{path/to/file2}}
7445
+ < p > Calculate the SHA512 checksum for one or more files:</ p >
7446
+ < pre > < code class ="language-shell "> sha512sum {{path/to/file1 path/to/file2 ...}}
7450
7447
</ code > </ pre >
7451
7448
< p > Calculate and save the list of SHA512 checksums to a file:</ p >
7452
- < pre > < code class ="language-shell "> sha512sum {{path/to/file1}} {{path/to/file2}} > {{path/to/file.sha512}}
7449
+ < pre > < code class ="language-shell "> sha512sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha512}}
7450
+ </ code > </ pre >
7451
+ < p > Calculate a SHA512 checksum from < code > stdin</ code > :</ p >
7452
+ < pre > < code class ="language-shell "> {{command}} | sha512sum
7453
7453
</ code > </ pre >
7454
- < p > Read a file of SHA512 sums and verify all files have matching checksums:</ p >
7454
+ < p > Read a file of SHA512 sums and filenames and verify all files have matching checksums:</ p >
7455
7455
< pre > < code class ="language-shell "> sha512sum --check {{path/to/file.sha512}}
7456
7456
</ code > </ pre >
7457
7457
< p > Only show a message for missing files or when verification fails:</ p >
7458
7458
< pre > < code class ="language-shell "> sha512sum --check --quiet {{path/to/file.sha512}}
7459
7459
</ code > </ pre >
7460
- < p > Only show a message for files for which verification fails, ignoring missing files:</ p >
7460
+ < p > Only show a message when verification fails, ignoring missing files:</ p >
7461
7461
< pre > < code class ="language-shell "> sha512sum --ignore-missing --check --quiet {{path/to/file.sha512}}
7462
7462
</ code > </ pre >
7463
7463
< blockquote >
0 commit comments