Created
March 6, 2023 16:14
-
-
Save justinhartman/9a05c151977419023097af17cc5783c7 to your computer and use it in GitHub Desktop.
Revisions
-
justinhartman created this gist
Mar 6, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ # Make an LZ4 archive lz4make () { tar -c - "${1}" | lz4 - "${1}.tar.lz4" } # Extract an LZ4 archive lz4extract () { pv "${1}" | lz4 -dc - | tar -x }