Comments (4)
Yes, choice between algorithms makes sense.
cksum
from coreutils provides some checksums with different algorithms. It also allows to output as hexadecimal string (default), base64-encoded, or raw bytes (only with single files).
❯ eza -1f | xargs cksum -a crc
❯ eza -1f | xargs cksum -a md5
❯ eza -1f | xargs cksum -a md5 --base64
From cksum --help
:
DIGEST determines the digest algorithm and default output format:
sysv (equivalent to sum -s)
bsd (equivalent to sum -r)
crc (equivalent to cksum)
md5 (equivalent to md5sum)
sha1 (equivalent to sha1sum)
sha224 (equivalent to sha224sum)
sha256 (equivalent to sha256sum)
sha384 (equivalent to sha384sum)
sha512 (equivalent to sha512sum)
blake2b (equivalent to b2sum)
sm3 (only available through cksum)
from eza.
I quite like this idea but there would have to be a choice between CRC32, MD5, ...
If it's only enabled by a command-line option then checksum calculation would only happen when the option is passed so there would be no slowdown for regular usage.
from eza.
I do not think we would want eza to calculate checksums. It is intentional that it does not read files as it would update the atime
of the file. Other utilities already exist to calculate checksums.
from eza.
I agree with @cfxegbert the goal of eza is to not read file contents nor touch at file in any ways.
from eza.
Related Issues (20)
- bug: archlinux installation eza error HOT 6
- Tab Does Not Show Autocomplete with ls Command HOT 2
- feat: make web versions of man page more easily discoverable HOT 1
- bug: pr template isn't auto-populated HOT 2
- Bug: `idump` give different output even without any modification, on Debian
- feat: Allow abbreviations for long option names HOT 1
- Wessss up on
- How to default -t to modified -r
- bug: Problems with man pages HOT 2
- feat: In tree view, the branch child contents should line up with the parent's first symbol
- bug: eza ignores LC_TIME and always shows dates in English (deb.gierens.de build only) HOT 7
- Apple Silicon Builds HOT 1
- feat: Plugin support HOT 3
- feat: dynamic navigation of tree HOT 1
- bug: unset permission bit "invisible", customizing color for that bit has no effect if unset
- bug: incorrect display of `eza -T --absolute /full/path` HOT 2
- feat: Formatted hyperlinks HOT 2
- Few eza icons different compared to exa icons
- feat: Allow skip check if dir is full or empty for icons
- feat: Adjustable Column Spacing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eza.