mirror of https://github.com/CrimsonTome/tldr.git
parent
322421ee9b
commit
4b0d01f004
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
- Calculate a BLAKE2 checksum from `stdin`:
|
- Calculate a BLAKE2 checksum from `stdin`:
|
||||||
|
|
||||||
`{{some_command}} | b2sum`
|
`{{command}} | b2sum`
|
||||||
|
|
||||||
- Read a file of BLAKE2 sums and filenames and verify all files have matching checksums:
|
- Read a file of BLAKE2 sums and filenames and verify all files have matching checksums:
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
- Calculate a BLAKE3 checksum from `stdin`:
|
- Calculate a BLAKE3 checksum from `stdin`:
|
||||||
|
|
||||||
`{{some_command}} | b3sum`
|
`{{command}} | b3sum`
|
||||||
|
|
||||||
- Read a file of BLAKE3 sums and filenames and verify all files have matching checksums:
|
- Read a file of BLAKE3 sums and filenames and verify all files have matching checksums:
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
- Calculate an MD5 checksum from `stdin`:
|
- Calculate an MD5 checksum from `stdin`:
|
||||||
|
|
||||||
`{{some_command}} | md5sum`
|
`{{command}} | md5sum`
|
||||||
|
|
||||||
- Read a file of MD5 sums and filenames and verify all files have matching checksums:
|
- Read a file of MD5 sums and filenames and verify all files have matching checksums:
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
- Calculate a SHA1 checksum from `stdin`:
|
- Calculate a SHA1 checksum from `stdin`:
|
||||||
|
|
||||||
`{{some_command}} | sha1sum`
|
`{{command}} | sha1sum`
|
||||||
|
|
||||||
- Read a file of SHA1 sums and filenames and verify all files have matching checksums:
|
- Read a file of SHA1 sums and filenames and verify all files have matching checksums:
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
- Calculate a SHA224 checksum from `stdin`:
|
- Calculate a SHA224 checksum from `stdin`:
|
||||||
|
|
||||||
`{{some_command}} | sha224sum`
|
`{{command}} | sha224sum`
|
||||||
|
|
||||||
- Read a file of SHA224 sums and filenames and verify all files have matching checksums:
|
- Read a file of SHA224 sums and filenames and verify all files have matching checksums:
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
- Calculate a SHA256 checksum from `stdin`:
|
- Calculate a SHA256 checksum from `stdin`:
|
||||||
|
|
||||||
`{{some_command}} | sha256sum`
|
`{{command}} | sha256sum`
|
||||||
|
|
||||||
- Read a file of SHA256 sums and filenames and verify all files have matching checksums:
|
- Read a file of SHA256 sums and filenames and verify all files have matching checksums:
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
- Calculate a SHA384 checksum from `stdin`:
|
- Calculate a SHA384 checksum from `stdin`:
|
||||||
|
|
||||||
`{{some_command}} | sha384sum`
|
`{{command}} | sha384sum`
|
||||||
|
|
||||||
- Read a file of SHA384 sums and filenames and verify all files have matching checksums:
|
- Read a file of SHA384 sums and filenames and verify all files have matching checksums:
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
- Calculate a SHA512 checksum from `stdin`:
|
- Calculate a SHA512 checksum from `stdin`:
|
||||||
|
|
||||||
`{{some_command}} | sha512sum`
|
`{{command}} | sha512sum`
|
||||||
|
|
||||||
- Read a file of SHA512 sums and filenames and verify all files have matching checksums:
|
- Read a file of SHA512 sums and filenames and verify all files have matching checksums:
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
- Calculate a SHA1 checksum from `stdin`:
|
- Calculate a SHA1 checksum from `stdin`:
|
||||||
|
|
||||||
`{{some_command}} | shasum`
|
`{{command}} | shasum`
|
||||||
|
|
||||||
- Calculate and save the list of SHA256 checksums to a file:
|
- Calculate and save the list of SHA256 checksums to a file:
|
||||||
|
|
||||||
|
|
|
@ -5,15 +5,15 @@
|
||||||
|
|
||||||
- Add a timestamp to the beginning of each line:
|
- Add a timestamp to the beginning of each line:
|
||||||
|
|
||||||
`{{some_command}} | ts`
|
`{{command}} | ts`
|
||||||
|
|
||||||
- Add timestamps with microsecond precision:
|
- Add timestamps with microsecond precision:
|
||||||
|
|
||||||
`{{some_command}} | ts "{{%b %d %H:%M:%.S}}"`
|
`{{command}} | ts "{{%b %d %H:%M:%.S}}"`
|
||||||
|
|
||||||
- Add [i]ncremental timestamps with microsecond precision, starting from zero:
|
- Add [i]ncremental timestamps with microsecond precision, starting from zero:
|
||||||
|
|
||||||
`{{some_command}} | ts -i "{{%H:%M:%.S}}"`
|
`{{command}} | ts -i "{{%H:%M:%.S}}"`
|
||||||
|
|
||||||
- Convert existing timestamps in a text file (eg. a log file) into [r]elative format:
|
- Convert existing timestamps in a text file (eg. a log file) into [r]elative format:
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
- Determine the MIME type of `stdin` (does not check a filename):
|
- Determine the MIME type of `stdin` (does not check a filename):
|
||||||
|
|
||||||
`{{some_command}} | mimetype --stdin`
|
`{{command}} | mimetype --stdin`
|
||||||
|
|
||||||
- Display debug information about how the MIME type was determined:
|
- Display debug information about how the MIME type was determined:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue