It's a command line tool to DownLoad and eXtract files.
It is available to verify the downloaded file with its hash and/or PGP signature before extracting.
- Zsh
- cURL
- Hash tools
- MD5:
md5,md5sum,gmd5sum, oropenssl - SHA1:
sha1sum,gsha1sum, oropenssl - SHA256:
sha256sum,gsha256sum, oropenssl - SHA512:
sha512sum,gsha512sum, oropenssl - PGP:
gpg
- MD5:
- OS: macOS/Linux
% git clone https://GitHub.com/YOCKOW/dlx.git % cd dlx % make test && sudo make install
% dlx https://example.com/veryFantasticTools.zip \ --md5=63aac7068fea572fea8d15417d846d80 % dlx https://example.com/veryFantasticOtherTools.tar.gz \ --pgp=https://example.com/veryFantasticOtherTools.tar.gz.sig
Try dlx --help to read more details.
% mod_fcgid_url="https://dlcdn.apache.org/httpd/mod_fcgid/mod_fcgid-2.3.9.tar.gz" % dlx "$mod_fcgid_url" \ --md5 "$mod_fcgid_url.md5" \ --sha1 "$mod_fcgid_url.sha1" \ --dir ./my-fcgid-directory
% swift_toolchain_url="https://download.swift.org/swift-5.5.1-release/ubuntu2004/swift-5.5.1-RELEASE/swift-5.5.1-RELEASE-ubuntu20.04.tar.gz" % dlx "$swift_toolchain_url" --pgp="$swift_toolchain_url.sig"
MIT License.
See "LICENSE.txt" for more information.