Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.
/ qwerty.sh Public archive

Download, verify, and unpack files in a single, portable command.

License

Notifications You must be signed in to change notification settings

rduplain/qwerty.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qwerty.sh: download, verify, unpack files.

qwerty.sh is a script as a service. On any Unix shell with curl available:

Q=https://raw.githubusercontent.com/rduplain/qwerty.sh/v0.8/qwerty.sh
alias qwerty.sh="curl --proto '=https' --tlsv1.2 -sSf $Q | Q=$Q sh -s -"

Without any installation, the qwerty.sh command acts like any other program on the PATH. Use it to bootstrap downloads from git repositories or the web.

Execute a file downloaded with git:

qwerty.sh https://github.com/rduplain/qwerty.sh.git web/hello/hello.sh:- | sh

Execute a file, but only if it matches a predetermined checksum:

qwerty.sh \
  --sha256=87d9aaac491de41f2e19d7bc8b3af20a54645920c499bbf868cd62aa4a77f4c7 \
  http://hello.qwerty.sh | sh

qwerty.sh is POSIX shell and uses whatever curl, git, and openssl commands it finds.


Reference.

Contact: community@qwerty.sh

Copyright (c) 2018-2022, R. DuPlain. All rights reserved. BSD 2-Clause License.

... with apologies to Dvorak.