alias truncate-hashes="sed -r 's/([a-f0-9]{8})[a-f0-9]{56}/\1.../g'"
tree ~ | truncate-hashes
Created
December 7, 2021 08:05
-
-
Save rmi1974/38370444f846978df95b2d570c4ea1a7 to your computer and use it in GitHub Desktop.
How to display a directory tree with hashes truncated #commandlinefu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment