You've already forked uutils.github.io
mirror of
https://github.com/uutils/uutils.github.io.git
synced 2026-06-10 16:12:28 -07:00
deploy: f0e8d44e6e
This commit is contained in:
+64
-64
@@ -956,14 +956,14 @@ the regular arguments to the util can be passed.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2 id="examples-1"><a class="header" href="#examples-1">Examples</a></h2>
|
||||
<p>Calculate the BLAKE2 checksum for a file:</p>
|
||||
<pre><code class="language-shell">b2sum {{path/to/file}}
|
||||
<p>Calculate the BLAKE2 checksum for one or more files:</p>
|
||||
<pre><code class="language-shell">b2sum {{path/to/file1 path/to/file2 ...}}
|
||||
</code></pre>
|
||||
<p>Calculate BLAKE2 checksums for multiple files:</p>
|
||||
<pre><code class="language-shell">b2sum {{path/to/file1}} {{path/to/file2}}
|
||||
<p>Calculate and save the list of BLAKE2 checksums to a file:</p>
|
||||
<pre><code class="language-shell">b2sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.b2}}
|
||||
</code></pre>
|
||||
<p>Calculate the BLAKE2 checksum from <code>stdin</code>:</p>
|
||||
<pre><code class="language-shell">{{some_command}} | b2sum
|
||||
<p>Calculate a BLAKE2 checksum from <code>stdin</code>:</p>
|
||||
<pre><code class="language-shell">{{command}} | b2sum
|
||||
</code></pre>
|
||||
<p>Read a file of BLAKE2 sums and filenames and verify all files have matching checksums:</p>
|
||||
<pre><code class="language-shell">b2sum --check {{path/to/file.b2}}
|
||||
@@ -971,7 +971,7 @@ the regular arguments to the util can be passed.</p>
|
||||
<p>Only show a message for missing files or when verification fails:</p>
|
||||
<pre><code class="language-shell">b2sum --check --quiet {{path/to/file.b2}}
|
||||
</code></pre>
|
||||
<p>Only show a message for files for which verification fails, ignoring missing files:</p>
|
||||
<p>Only show a message when verification fails, ignoring missing files:</p>
|
||||
<pre><code class="language-shell">b2sum --ignore-missing --check --quiet {{path/to/file.b2}}
|
||||
</code></pre>
|
||||
<blockquote>
|
||||
@@ -1034,21 +1034,21 @@ the regular arguments to the util can be passed.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2 id="examples-2"><a class="header" href="#examples-2">Examples</a></h2>
|
||||
<p>Calculate the BLAKE3 checksum for a file:</p>
|
||||
<pre><code class="language-shell">b3sum {{path/to/file}}
|
||||
<p>Calculate the BLAKE3 checksum for one or more files:</p>
|
||||
<pre><code class="language-shell">b3sum {{path/to/file1 path/to/file2 ...}}
|
||||
</code></pre>
|
||||
<p>Calculate BLAKE3 checksums for multiple files:</p>
|
||||
<pre><code class="language-shell">b3sum {{path/to/file1}} {{path/to/file2}}
|
||||
<p>Calculate and save the list of BLAKE3 checksums to a file:</p>
|
||||
<pre><code class="language-shell">b3sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.b3}}
|
||||
</code></pre>
|
||||
<p>Calculate the BLAKE3 checksum from <code>stdin</code>:</p>
|
||||
<pre><code class="language-shell">{{some_command}} | b3sum
|
||||
<p>Calculate a BLAKE3 checksum from <code>stdin</code>:</p>
|
||||
<pre><code class="language-shell">{{command}} | b3sum
|
||||
</code></pre>
|
||||
<p>Create a file of BLAKE3 checksums:</p>
|
||||
<pre><code class="language-shell">b3sum {{path/to/file}} > {{path/to/file.b3}}
|
||||
</code></pre>
|
||||
<p>Read and verify a file of BLAKE3 checksums:</p>
|
||||
<p>Read a file of BLAKE3 sums and filenames and verify all files have matching checksums:</p>
|
||||
<pre><code class="language-shell">b3sum --check {{path/to/file.b3}}
|
||||
</code></pre>
|
||||
<p>Only show a message for missing files or when verification fails:</p>
|
||||
<pre><code class="language-shell">b3sum --check --quiet {{path/to/file.b3}}
|
||||
</code></pre>
|
||||
<blockquote>
|
||||
<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>
|
||||
<p>Please note that, as uutils is a work in progress, some examples might fail.</p>
|
||||
@@ -4768,22 +4768,22 @@ Ignore files and directories starting with a '.' by default</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2 id="examples-45"><a class="header" href="#examples-45">Examples</a></h2>
|
||||
<p>Calculate the MD5 checksum for a file:</p>
|
||||
<pre><code class="language-shell">md5sum {{path/to/file}}
|
||||
<p>Calculate the MD5 checksum for one or more files:</p>
|
||||
<pre><code class="language-shell">md5sum {{path/to/file1 path/to/file2 ...}}
|
||||
</code></pre>
|
||||
<p>Calculate MD5 checksums for multiple files:</p>
|
||||
<pre><code class="language-shell">md5sum {{path/to/file1}} {{path/to/file2}}
|
||||
<p>Calculate and save the list of MD5 checksums to a file:</p>
|
||||
<pre><code class="language-shell">md5sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.md5}}
|
||||
</code></pre>
|
||||
<p>Calculate an MD5 checksum from <code>stdin</code>:</p>
|
||||
<pre><code class="language-shell">{{some_command}}" | md5sum
|
||||
<pre><code class="language-shell">{{command}} | md5sum
|
||||
</code></pre>
|
||||
<p>Read a file of MD5SUMs and verify all files have matching checksums:</p>
|
||||
<p>Read a file of MD5 sums and filenames and verify all files have matching checksums:</p>
|
||||
<pre><code class="language-shell">md5sum --check {{path/to/file.md5}}
|
||||
</code></pre>
|
||||
<p>Only show a message for missing files or when verification fails:</p>
|
||||
<pre><code class="language-shell">md5sum --check --quiet {{path/to/file.md5}}
|
||||
</code></pre>
|
||||
<p>Only show a message for files for which verification fails, ignoring missing files:</p>
|
||||
<p>Only show a message when verification fails, ignoring missing files:</p>
|
||||
<pre><code class="language-shell">md5sum --ignore-missing --check --quiet {{path/to/file.md5}}
|
||||
</code></pre>
|
||||
<blockquote>
|
||||
@@ -6887,22 +6887,22 @@ seq [OPTION]... FIRST INCREMENT LAST";
|
||||
</dd>
|
||||
</dl>
|
||||
<h2 id="examples-72"><a class="header" href="#examples-72">Examples</a></h2>
|
||||
<p>Calculate the SHA1 checksum for a file:</p>
|
||||
<pre><code class="language-shell">sha1sum {{path/to/file}}
|
||||
</code></pre>
|
||||
<p>Calculate SHA1 checksums for multiple files:</p>
|
||||
<pre><code class="language-shell">sha1sum {{path/to/file1}} {{path/to/file2}}
|
||||
<p>Calculate the SHA1 checksum for one or more files:</p>
|
||||
<pre><code class="language-shell">sha1sum {{path/to/file1 path/to/file2 ...}}
|
||||
</code></pre>
|
||||
<p>Calculate and save the list of SHA1 checksums to a file:</p>
|
||||
<pre><code class="language-shell">sha1sum {{path/to/file1}} {{path/to/file2}} > {{path/to/file.sha1}}
|
||||
<pre><code class="language-shell">sha1sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha1}}
|
||||
</code></pre>
|
||||
<p>Read a file of SHA1 sums and verify all files have matching checksums:</p>
|
||||
<p>Calculate a SHA1 checksum from <code>stdin</code>:</p>
|
||||
<pre><code class="language-shell">{{command}} | sha1sum
|
||||
</code></pre>
|
||||
<p>Read a file of SHA1 sums and filenames and verify all files have matching checksums:</p>
|
||||
<pre><code class="language-shell">sha1sum --check {{path/to/file.sha1}}
|
||||
</code></pre>
|
||||
<p>Only show a message for missing files or when verification fails:</p>
|
||||
<pre><code class="language-shell">sha1sum --check --quiet {{path/to/file.sha1}}
|
||||
</code></pre>
|
||||
<p>Only show a message for files for which verification fails, ignoring missing files:</p>
|
||||
<p>Only show a message when verification fails, ignoring missing files:</p>
|
||||
<pre><code class="language-shell">sha1sum --ignore-missing --check --quiet {{path/to/file.sha1}}
|
||||
</code></pre>
|
||||
<blockquote>
|
||||
@@ -6961,22 +6961,22 @@ seq [OPTION]... FIRST INCREMENT LAST";
|
||||
</dd>
|
||||
</dl>
|
||||
<h2 id="examples-73"><a class="header" href="#examples-73">Examples</a></h2>
|
||||
<p>Calculate the SHA224 checksum for a file:</p>
|
||||
<pre><code class="language-shell">sha224sum {{path/to/file}}
|
||||
</code></pre>
|
||||
<p>Calculate SHA224 checksums for multiple files:</p>
|
||||
<pre><code class="language-shell">sha224sum {{path/to/file1}} {{path/to/file2}}
|
||||
<p>Calculate the SHA224 checksum for one or more files:</p>
|
||||
<pre><code class="language-shell">sha224sum {{path/to/file1 path/to/file2 ...}}
|
||||
</code></pre>
|
||||
<p>Calculate and save the list of SHA224 checksums to a file:</p>
|
||||
<pre><code class="language-shell">sha224sum {{path/to/file1}} {{path/to/file2}} > {{path/to/file.sha224}}
|
||||
<pre><code class="language-shell">sha224sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha224}}
|
||||
</code></pre>
|
||||
<p>Read a file of SHA224 sums and verify all files have matching checksums:</p>
|
||||
<p>Calculate a SHA224 checksum from <code>stdin</code>:</p>
|
||||
<pre><code class="language-shell">{{command}} | sha224sum
|
||||
</code></pre>
|
||||
<p>Read a file of SHA224 sums and filenames and verify all files have matching checksums:</p>
|
||||
<pre><code class="language-shell">sha224sum --check {{path/to/file.sha224}}
|
||||
</code></pre>
|
||||
<p>Only show a message for missing files or when verification fails:</p>
|
||||
<pre><code class="language-shell">sha224sum --check --quiet {{path/to/file.sha224}}
|
||||
</code></pre>
|
||||
<p>Only show a message for files for which verification fails, ignoring missing files:</p>
|
||||
<p>Only show a message when verification fails, ignoring missing files:</p>
|
||||
<pre><code class="language-shell">sha224sum --ignore-missing --check --quiet {{path/to/file.sha224}}
|
||||
</code></pre>
|
||||
<blockquote>
|
||||
@@ -7035,22 +7035,22 @@ seq [OPTION]... FIRST INCREMENT LAST";
|
||||
</dd>
|
||||
</dl>
|
||||
<h2 id="examples-74"><a class="header" href="#examples-74">Examples</a></h2>
|
||||
<p>Calculate the SHA256 checksum for a file:</p>
|
||||
<pre><code class="language-shell">sha256sum {{path/to/file}}
|
||||
</code></pre>
|
||||
<p>Calculate SHA256 checksums for multiple files:</p>
|
||||
<pre><code class="language-shell">sha256sum {{path/to/file1}} {{path/to/file2}}
|
||||
<p>Calculate the SHA256 checksum for one or more files:</p>
|
||||
<pre><code class="language-shell">sha256sum {{path/to/file1 path/to/file2 ...}}
|
||||
</code></pre>
|
||||
<p>Calculate and save the list of SHA256 checksums to a file:</p>
|
||||
<pre><code class="language-shell">sha256sum {{path/to/file1}} {{path/to/file2}} > {{path/to/file.sha256}}
|
||||
<pre><code class="language-shell">sha256sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha256}}
|
||||
</code></pre>
|
||||
<p>Read a file of SHA256 sums and verify all files have matching checksums:</p>
|
||||
<p>Calculate a SHA256 checksum from <code>stdin</code>:</p>
|
||||
<pre><code class="language-shell">{{command}} | sha256sum
|
||||
</code></pre>
|
||||
<p>Read a file of SHA256 sums and filenames and verify all files have matching checksums:</p>
|
||||
<pre><code class="language-shell">sha256sum --check {{path/to/file.sha256}}
|
||||
</code></pre>
|
||||
<p>Only show a message for missing files or when verification fails:</p>
|
||||
<pre><code class="language-shell">sha256sum --check --quiet {{path/to/file.sha256}}
|
||||
</code></pre>
|
||||
<p>Only show a message for files for which verification fails, ignoring missing files:</p>
|
||||
<p>Only show a message when verification fails, ignoring missing files:</p>
|
||||
<pre><code class="language-shell">sha256sum --ignore-missing --check --quiet {{path/to/file.sha256}}
|
||||
</code></pre>
|
||||
<blockquote>
|
||||
@@ -7313,22 +7313,22 @@ seq [OPTION]... FIRST INCREMENT LAST";
|
||||
</dd>
|
||||
</dl>
|
||||
<h2 id="examples-75"><a class="header" href="#examples-75">Examples</a></h2>
|
||||
<p>Calculate the SHA384 checksum for a file:</p>
|
||||
<pre><code class="language-shell">sha384sum {{path/to/file}}
|
||||
</code></pre>
|
||||
<p>Calculate SHA384 checksums for multiple files:</p>
|
||||
<pre><code class="language-shell">sha384sum {{path/to/file1}} {{path/to/file2}}
|
||||
<p>Calculate the SHA384 checksum for one or more files:</p>
|
||||
<pre><code class="language-shell">sha384sum {{path/to/file1 path/to/file2 ...}}
|
||||
</code></pre>
|
||||
<p>Calculate and save the list of SHA384 checksums to a file:</p>
|
||||
<pre><code class="language-shell">sha384sum {{path/to/file1}} {{path/to/file2}} > {{path/to/file.sha384}}
|
||||
<pre><code class="language-shell">sha384sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha384}}
|
||||
</code></pre>
|
||||
<p>Read a file of SHA384 sums and verify all files have matching checksums:</p>
|
||||
<p>Calculate a SHA384 checksum from <code>stdin</code>:</p>
|
||||
<pre><code class="language-shell">{{command}} | sha384sum
|
||||
</code></pre>
|
||||
<p>Read a file of SHA384 sums and filenames and verify all files have matching checksums:</p>
|
||||
<pre><code class="language-shell">sha384sum --check {{path/to/file.sha384}}
|
||||
</code></pre>
|
||||
<p>Only show a message for missing files or when verification fails:</p>
|
||||
<pre><code class="language-shell">sha384sum --check --quiet {{path/to/file.sha384}}
|
||||
</code></pre>
|
||||
<p>Only show a message for files for which verification fails, ignoring missing files:</p>
|
||||
<p>Only show a message when verification fails, ignoring missing files:</p>
|
||||
<pre><code class="language-shell">sha384sum --ignore-missing --check --quiet {{path/to/file.sha384}}
|
||||
</code></pre>
|
||||
<blockquote>
|
||||
@@ -7442,22 +7442,22 @@ seq [OPTION]... FIRST INCREMENT LAST";
|
||||
</dd>
|
||||
</dl>
|
||||
<h2 id="examples-76"><a class="header" href="#examples-76">Examples</a></h2>
|
||||
<p>Calculate the SHA512 checksum for a file:</p>
|
||||
<pre><code class="language-shell">sha512sum {{path/to/file}}
|
||||
</code></pre>
|
||||
<p>Calculate SHA512 checksums for multiple files:</p>
|
||||
<pre><code class="language-shell">sha512sum {{path/to/file1}} {{path/to/file2}}
|
||||
<p>Calculate the SHA512 checksum for one or more files:</p>
|
||||
<pre><code class="language-shell">sha512sum {{path/to/file1 path/to/file2 ...}}
|
||||
</code></pre>
|
||||
<p>Calculate and save the list of SHA512 checksums to a file:</p>
|
||||
<pre><code class="language-shell">sha512sum {{path/to/file1}} {{path/to/file2}} > {{path/to/file.sha512}}
|
||||
<pre><code class="language-shell">sha512sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha512}}
|
||||
</code></pre>
|
||||
<p>Read a file of SHA512 sums and verify all files have matching checksums:</p>
|
||||
<p>Calculate a SHA512 checksum from <code>stdin</code>:</p>
|
||||
<pre><code class="language-shell">{{command}} | sha512sum
|
||||
</code></pre>
|
||||
<p>Read a file of SHA512 sums and filenames and verify all files have matching checksums:</p>
|
||||
<pre><code class="language-shell">sha512sum --check {{path/to/file.sha512}}
|
||||
</code></pre>
|
||||
<p>Only show a message for missing files or when verification fails:</p>
|
||||
<pre><code class="language-shell">sha512sum --check --quiet {{path/to/file.sha512}}
|
||||
</code></pre>
|
||||
<p>Only show a message for files for which verification fails, ignoring missing files:</p>
|
||||
<p>Only show a message when verification fails, ignoring missing files:</p>
|
||||
<pre><code class="language-shell">sha512sum --ignore-missing --check --quiet {{path/to/file.sha512}}
|
||||
</code></pre>
|
||||
<blockquote>
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -221,14 +221,14 @@
|
||||
</dd>
|
||||
</dl>
|
||||
<h2 id="examples"><a class="header" href="#examples">Examples</a></h2>
|
||||
<p>Calculate the BLAKE2 checksum for a file:</p>
|
||||
<pre><code class="language-shell">b2sum {{path/to/file}}
|
||||
<p>Calculate the BLAKE2 checksum for one or more files:</p>
|
||||
<pre><code class="language-shell">b2sum {{path/to/file1 path/to/file2 ...}}
|
||||
</code></pre>
|
||||
<p>Calculate BLAKE2 checksums for multiple files:</p>
|
||||
<pre><code class="language-shell">b2sum {{path/to/file1}} {{path/to/file2}}
|
||||
<p>Calculate and save the list of BLAKE2 checksums to a file:</p>
|
||||
<pre><code class="language-shell">b2sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.b2}}
|
||||
</code></pre>
|
||||
<p>Calculate the BLAKE2 checksum from <code>stdin</code>:</p>
|
||||
<pre><code class="language-shell">{{some_command}} | b2sum
|
||||
<p>Calculate a BLAKE2 checksum from <code>stdin</code>:</p>
|
||||
<pre><code class="language-shell">{{command}} | b2sum
|
||||
</code></pre>
|
||||
<p>Read a file of BLAKE2 sums and filenames and verify all files have matching checksums:</p>
|
||||
<pre><code class="language-shell">b2sum --check {{path/to/file.b2}}
|
||||
@@ -236,7 +236,7 @@
|
||||
<p>Only show a message for missing files or when verification fails:</p>
|
||||
<pre><code class="language-shell">b2sum --check --quiet {{path/to/file.b2}}
|
||||
</code></pre>
|
||||
<p>Only show a message for files for which verification fails, ignoring missing files:</p>
|
||||
<p>Only show a message when verification fails, ignoring missing files:</p>
|
||||
<pre><code class="language-shell">b2sum --ignore-missing --check --quiet {{path/to/file.b2}}
|
||||
</code></pre>
|
||||
<blockquote>
|
||||
|
||||
+10
-10
@@ -225,21 +225,21 @@
|
||||
</dd>
|
||||
</dl>
|
||||
<h2 id="examples"><a class="header" href="#examples">Examples</a></h2>
|
||||
<p>Calculate the BLAKE3 checksum for a file:</p>
|
||||
<pre><code class="language-shell">b3sum {{path/to/file}}
|
||||
<p>Calculate the BLAKE3 checksum for one or more files:</p>
|
||||
<pre><code class="language-shell">b3sum {{path/to/file1 path/to/file2 ...}}
|
||||
</code></pre>
|
||||
<p>Calculate BLAKE3 checksums for multiple files:</p>
|
||||
<pre><code class="language-shell">b3sum {{path/to/file1}} {{path/to/file2}}
|
||||
<p>Calculate and save the list of BLAKE3 checksums to a file:</p>
|
||||
<pre><code class="language-shell">b3sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.b3}}
|
||||
</code></pre>
|
||||
<p>Calculate the BLAKE3 checksum from <code>stdin</code>:</p>
|
||||
<pre><code class="language-shell">{{some_command}} | b3sum
|
||||
<p>Calculate a BLAKE3 checksum from <code>stdin</code>:</p>
|
||||
<pre><code class="language-shell">{{command}} | b3sum
|
||||
</code></pre>
|
||||
<p>Create a file of BLAKE3 checksums:</p>
|
||||
<pre><code class="language-shell">b3sum {{path/to/file}} > {{path/to/file.b3}}
|
||||
</code></pre>
|
||||
<p>Read and verify a file of BLAKE3 checksums:</p>
|
||||
<p>Read a file of BLAKE3 sums and filenames and verify all files have matching checksums:</p>
|
||||
<pre><code class="language-shell">b3sum --check {{path/to/file.b3}}
|
||||
</code></pre>
|
||||
<p>Only show a message for missing files or when verification fails:</p>
|
||||
<pre><code class="language-shell">b3sum --check --quiet {{path/to/file.b3}}
|
||||
</code></pre>
|
||||
<blockquote>
|
||||
<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>
|
||||
<p>Please note that, as uutils is a work in progress, some examples might fail.</p>
|
||||
|
||||
@@ -221,22 +221,22 @@
|
||||
</dd>
|
||||
</dl>
|
||||
<h2 id="examples"><a class="header" href="#examples">Examples</a></h2>
|
||||
<p>Calculate the MD5 checksum for a file:</p>
|
||||
<pre><code class="language-shell">md5sum {{path/to/file}}
|
||||
<p>Calculate the MD5 checksum for one or more files:</p>
|
||||
<pre><code class="language-shell">md5sum {{path/to/file1 path/to/file2 ...}}
|
||||
</code></pre>
|
||||
<p>Calculate MD5 checksums for multiple files:</p>
|
||||
<pre><code class="language-shell">md5sum {{path/to/file1}} {{path/to/file2}}
|
||||
<p>Calculate and save the list of MD5 checksums to a file:</p>
|
||||
<pre><code class="language-shell">md5sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.md5}}
|
||||
</code></pre>
|
||||
<p>Calculate an MD5 checksum from <code>stdin</code>:</p>
|
||||
<pre><code class="language-shell">{{some_command}}" | md5sum
|
||||
<pre><code class="language-shell">{{command}} | md5sum
|
||||
</code></pre>
|
||||
<p>Read a file of MD5SUMs and verify all files have matching checksums:</p>
|
||||
<p>Read a file of MD5 sums and filenames and verify all files have matching checksums:</p>
|
||||
<pre><code class="language-shell">md5sum --check {{path/to/file.md5}}
|
||||
</code></pre>
|
||||
<p>Only show a message for missing files or when verification fails:</p>
|
||||
<pre><code class="language-shell">md5sum --check --quiet {{path/to/file.md5}}
|
||||
</code></pre>
|
||||
<p>Only show a message for files for which verification fails, ignoring missing files:</p>
|
||||
<p>Only show a message when verification fails, ignoring missing files:</p>
|
||||
<pre><code class="language-shell">md5sum --ignore-missing --check --quiet {{path/to/file.md5}}
|
||||
</code></pre>
|
||||
<blockquote>
|
||||
|
||||
@@ -221,22 +221,22 @@
|
||||
</dd>
|
||||
</dl>
|
||||
<h2 id="examples"><a class="header" href="#examples">Examples</a></h2>
|
||||
<p>Calculate the SHA1 checksum for a file:</p>
|
||||
<pre><code class="language-shell">sha1sum {{path/to/file}}
|
||||
</code></pre>
|
||||
<p>Calculate SHA1 checksums for multiple files:</p>
|
||||
<pre><code class="language-shell">sha1sum {{path/to/file1}} {{path/to/file2}}
|
||||
<p>Calculate the SHA1 checksum for one or more files:</p>
|
||||
<pre><code class="language-shell">sha1sum {{path/to/file1 path/to/file2 ...}}
|
||||
</code></pre>
|
||||
<p>Calculate and save the list of SHA1 checksums to a file:</p>
|
||||
<pre><code class="language-shell">sha1sum {{path/to/file1}} {{path/to/file2}} > {{path/to/file.sha1}}
|
||||
<pre><code class="language-shell">sha1sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha1}}
|
||||
</code></pre>
|
||||
<p>Read a file of SHA1 sums and verify all files have matching checksums:</p>
|
||||
<p>Calculate a SHA1 checksum from <code>stdin</code>:</p>
|
||||
<pre><code class="language-shell">{{command}} | sha1sum
|
||||
</code></pre>
|
||||
<p>Read a file of SHA1 sums and filenames and verify all files have matching checksums:</p>
|
||||
<pre><code class="language-shell">sha1sum --check {{path/to/file.sha1}}
|
||||
</code></pre>
|
||||
<p>Only show a message for missing files or when verification fails:</p>
|
||||
<pre><code class="language-shell">sha1sum --check --quiet {{path/to/file.sha1}}
|
||||
</code></pre>
|
||||
<p>Only show a message for files for which verification fails, ignoring missing files:</p>
|
||||
<p>Only show a message when verification fails, ignoring missing files:</p>
|
||||
<pre><code class="language-shell">sha1sum --ignore-missing --check --quiet {{path/to/file.sha1}}
|
||||
</code></pre>
|
||||
<blockquote>
|
||||
|
||||
@@ -221,22 +221,22 @@
|
||||
</dd>
|
||||
</dl>
|
||||
<h2 id="examples"><a class="header" href="#examples">Examples</a></h2>
|
||||
<p>Calculate the SHA224 checksum for a file:</p>
|
||||
<pre><code class="language-shell">sha224sum {{path/to/file}}
|
||||
</code></pre>
|
||||
<p>Calculate SHA224 checksums for multiple files:</p>
|
||||
<pre><code class="language-shell">sha224sum {{path/to/file1}} {{path/to/file2}}
|
||||
<p>Calculate the SHA224 checksum for one or more files:</p>
|
||||
<pre><code class="language-shell">sha224sum {{path/to/file1 path/to/file2 ...}}
|
||||
</code></pre>
|
||||
<p>Calculate and save the list of SHA224 checksums to a file:</p>
|
||||
<pre><code class="language-shell">sha224sum {{path/to/file1}} {{path/to/file2}} > {{path/to/file.sha224}}
|
||||
<pre><code class="language-shell">sha224sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha224}}
|
||||
</code></pre>
|
||||
<p>Read a file of SHA224 sums and verify all files have matching checksums:</p>
|
||||
<p>Calculate a SHA224 checksum from <code>stdin</code>:</p>
|
||||
<pre><code class="language-shell">{{command}} | sha224sum
|
||||
</code></pre>
|
||||
<p>Read a file of SHA224 sums and filenames and verify all files have matching checksums:</p>
|
||||
<pre><code class="language-shell">sha224sum --check {{path/to/file.sha224}}
|
||||
</code></pre>
|
||||
<p>Only show a message for missing files or when verification fails:</p>
|
||||
<pre><code class="language-shell">sha224sum --check --quiet {{path/to/file.sha224}}
|
||||
</code></pre>
|
||||
<p>Only show a message for files for which verification fails, ignoring missing files:</p>
|
||||
<p>Only show a message when verification fails, ignoring missing files:</p>
|
||||
<pre><code class="language-shell">sha224sum --ignore-missing --check --quiet {{path/to/file.sha224}}
|
||||
</code></pre>
|
||||
<blockquote>
|
||||
|
||||
@@ -221,22 +221,22 @@
|
||||
</dd>
|
||||
</dl>
|
||||
<h2 id="examples"><a class="header" href="#examples">Examples</a></h2>
|
||||
<p>Calculate the SHA256 checksum for a file:</p>
|
||||
<pre><code class="language-shell">sha256sum {{path/to/file}}
|
||||
</code></pre>
|
||||
<p>Calculate SHA256 checksums for multiple files:</p>
|
||||
<pre><code class="language-shell">sha256sum {{path/to/file1}} {{path/to/file2}}
|
||||
<p>Calculate the SHA256 checksum for one or more files:</p>
|
||||
<pre><code class="language-shell">sha256sum {{path/to/file1 path/to/file2 ...}}
|
||||
</code></pre>
|
||||
<p>Calculate and save the list of SHA256 checksums to a file:</p>
|
||||
<pre><code class="language-shell">sha256sum {{path/to/file1}} {{path/to/file2}} > {{path/to/file.sha256}}
|
||||
<pre><code class="language-shell">sha256sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha256}}
|
||||
</code></pre>
|
||||
<p>Read a file of SHA256 sums and verify all files have matching checksums:</p>
|
||||
<p>Calculate a SHA256 checksum from <code>stdin</code>:</p>
|
||||
<pre><code class="language-shell">{{command}} | sha256sum
|
||||
</code></pre>
|
||||
<p>Read a file of SHA256 sums and filenames and verify all files have matching checksums:</p>
|
||||
<pre><code class="language-shell">sha256sum --check {{path/to/file.sha256}}
|
||||
</code></pre>
|
||||
<p>Only show a message for missing files or when verification fails:</p>
|
||||
<pre><code class="language-shell">sha256sum --check --quiet {{path/to/file.sha256}}
|
||||
</code></pre>
|
||||
<p>Only show a message for files for which verification fails, ignoring missing files:</p>
|
||||
<p>Only show a message when verification fails, ignoring missing files:</p>
|
||||
<pre><code class="language-shell">sha256sum --ignore-missing --check --quiet {{path/to/file.sha256}}
|
||||
</code></pre>
|
||||
<blockquote>
|
||||
|
||||
@@ -221,22 +221,22 @@
|
||||
</dd>
|
||||
</dl>
|
||||
<h2 id="examples"><a class="header" href="#examples">Examples</a></h2>
|
||||
<p>Calculate the SHA384 checksum for a file:</p>
|
||||
<pre><code class="language-shell">sha384sum {{path/to/file}}
|
||||
</code></pre>
|
||||
<p>Calculate SHA384 checksums for multiple files:</p>
|
||||
<pre><code class="language-shell">sha384sum {{path/to/file1}} {{path/to/file2}}
|
||||
<p>Calculate the SHA384 checksum for one or more files:</p>
|
||||
<pre><code class="language-shell">sha384sum {{path/to/file1 path/to/file2 ...}}
|
||||
</code></pre>
|
||||
<p>Calculate and save the list of SHA384 checksums to a file:</p>
|
||||
<pre><code class="language-shell">sha384sum {{path/to/file1}} {{path/to/file2}} > {{path/to/file.sha384}}
|
||||
<pre><code class="language-shell">sha384sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha384}}
|
||||
</code></pre>
|
||||
<p>Read a file of SHA384 sums and verify all files have matching checksums:</p>
|
||||
<p>Calculate a SHA384 checksum from <code>stdin</code>:</p>
|
||||
<pre><code class="language-shell">{{command}} | sha384sum
|
||||
</code></pre>
|
||||
<p>Read a file of SHA384 sums and filenames and verify all files have matching checksums:</p>
|
||||
<pre><code class="language-shell">sha384sum --check {{path/to/file.sha384}}
|
||||
</code></pre>
|
||||
<p>Only show a message for missing files or when verification fails:</p>
|
||||
<pre><code class="language-shell">sha384sum --check --quiet {{path/to/file.sha384}}
|
||||
</code></pre>
|
||||
<p>Only show a message for files for which verification fails, ignoring missing files:</p>
|
||||
<p>Only show a message when verification fails, ignoring missing files:</p>
|
||||
<pre><code class="language-shell">sha384sum --ignore-missing --check --quiet {{path/to/file.sha384}}
|
||||
</code></pre>
|
||||
<blockquote>
|
||||
|
||||
@@ -221,22 +221,22 @@
|
||||
</dd>
|
||||
</dl>
|
||||
<h2 id="examples"><a class="header" href="#examples">Examples</a></h2>
|
||||
<p>Calculate the SHA512 checksum for a file:</p>
|
||||
<pre><code class="language-shell">sha512sum {{path/to/file}}
|
||||
</code></pre>
|
||||
<p>Calculate SHA512 checksums for multiple files:</p>
|
||||
<pre><code class="language-shell">sha512sum {{path/to/file1}} {{path/to/file2}}
|
||||
<p>Calculate the SHA512 checksum for one or more files:</p>
|
||||
<pre><code class="language-shell">sha512sum {{path/to/file1 path/to/file2 ...}}
|
||||
</code></pre>
|
||||
<p>Calculate and save the list of SHA512 checksums to a file:</p>
|
||||
<pre><code class="language-shell">sha512sum {{path/to/file1}} {{path/to/file2}} > {{path/to/file.sha512}}
|
||||
<pre><code class="language-shell">sha512sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha512}}
|
||||
</code></pre>
|
||||
<p>Read a file of SHA512 sums and verify all files have matching checksums:</p>
|
||||
<p>Calculate a SHA512 checksum from <code>stdin</code>:</p>
|
||||
<pre><code class="language-shell">{{command}} | sha512sum
|
||||
</code></pre>
|
||||
<p>Read a file of SHA512 sums and filenames and verify all files have matching checksums:</p>
|
||||
<pre><code class="language-shell">sha512sum --check {{path/to/file.sha512}}
|
||||
</code></pre>
|
||||
<p>Only show a message for missing files or when verification fails:</p>
|
||||
<pre><code class="language-shell">sha512sum --check --quiet {{path/to/file.sha512}}
|
||||
</code></pre>
|
||||
<p>Only show a message for files for which verification fails, ignoring missing files:</p>
|
||||
<p>Only show a message when verification fails, ignoring missing files:</p>
|
||||
<pre><code class="language-shell">sha512sum --ignore-missing --check --quiet {{path/to/file.sha512}}
|
||||
</code></pre>
|
||||
<blockquote>
|
||||
|
||||
Reference in New Issue
Block a user