@jessfraz jessfraz released this Dec 29, 2018

Below are easy install instructions by OS and Architecture. As always there are always the standard instructions in the README.md as well.

darwin

386 - darwin
# Export the sha256sum for verification.
$ export GMAILFILTERS_SHA256="3ad2db7e50fb889f90adb01a771fd6bb2ecb73eccec44051b3917e8cab16f721"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/gmailfilters/releases/download/v0.0.0/gmailfilters-darwin-386" -o "/usr/local/bin/gmailfilters" \
	&& echo "${GMAILFILTERS_SHA256}  /usr/local/bin/gmailfilters" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/gmailfilters"

$ echo "gmailfilters installed!"

# Run it!
$ gmailfilters -h
amd64 - darwin
# Export the sha256sum for verification.
$ export GMAILFILTERS_SHA256="9f3d0d0a6db287c68cf07ee79963c787d0a1e492a714382d0cde807c7cbfc109"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/gmailfilters/releases/download/v0.0.0/gmailfilters-darwin-amd64" -o "/usr/local/bin/gmailfilters" \
	&& echo "${GMAILFILTERS_SHA256}  /usr/local/bin/gmailfilters" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/gmailfilters"

$ echo "gmailfilters installed!"

# Run it!
$ gmailfilters -h

freebsd

386 - freebsd
# Export the sha256sum for verification.
$ export GMAILFILTERS_SHA256="8d187081d7e6aa29a628414dc32cdc5d2e0769e3bac86bdcacda85f8a9c7cb35"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/gmailfilters/releases/download/v0.0.0/gmailfilters-freebsd-386" -o "/usr/local/bin/gmailfilters" \
	&& echo "${GMAILFILTERS_SHA256}  /usr/local/bin/gmailfilters" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/gmailfilters"

$ echo "gmailfilters installed!"

# Run it!
$ gmailfilters -h
amd64 - freebsd
# Export the sha256sum for verification.
$ export GMAILFILTERS_SHA256="8bf06969c64a70cfd5c8d1c6d2c372f420c623ea32a863d5abf6419eb02f1f20"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/gmailfilters/releases/download/v0.0.0/gmailfilters-freebsd-amd64" -o "/usr/local/bin/gmailfilters" \
	&& echo "${GMAILFILTERS_SHA256}  /usr/local/bin/gmailfilters" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/gmailfilters"

$ echo "gmailfilters installed!"

# Run it!
$ gmailfilters -h

linux

386 - linux
# Export the sha256sum for verification.
$ export GMAILFILTERS_SHA256="95d86417084baeb020f946f17a52a23d42551a3159f763a332d253f98056c368"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/gmailfilters/releases/download/v0.0.0/gmailfilters-linux-386" -o "/usr/local/bin/gmailfilters" \
	&& echo "${GMAILFILTERS_SHA256}  /usr/local/bin/gmailfilters" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/gmailfilters"

$ echo "gmailfilters installed!"

# Run it!
$ gmailfilters -h
amd64 - linux
# Export the sha256sum for verification.
$ export GMAILFILTERS_SHA256="9857b95ac011123732f5e63c29baa0feef471cb8716fc4760e1f54e18d832aa9"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/gmailfilters/releases/download/v0.0.0/gmailfilters-linux-amd64" -o "/usr/local/bin/gmailfilters" \
	&& echo "${GMAILFILTERS_SHA256}  /usr/local/bin/gmailfilters" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/gmailfilters"

$ echo "gmailfilters installed!"

# Run it!
$ gmailfilters -h
arm - linux
# Export the sha256sum for verification.
$ export GMAILFILTERS_SHA256="7859ee3a9da21a0e25ae5d2eb1548cb3c7be5e4530ffe37bb1ab13467e2c07a3"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/gmailfilters/releases/download/v0.0.0/gmailfilters-linux-arm" -o "/usr/local/bin/gmailfilters" \
	&& echo "${GMAILFILTERS_SHA256}  /usr/local/bin/gmailfilters" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/gmailfilters"

$ echo "gmailfilters installed!"

# Run it!
$ gmailfilters -h
arm64 - linux
# Export the sha256sum for verification.
$ export GMAILFILTERS_SHA256="eabb9dce283f771e6b99c54f4ab007102069b905004ea420feef53b6f54a97b1"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/gmailfilters/releases/download/v0.0.0/gmailfilters-linux-arm64" -o "/usr/local/bin/gmailfilters" \
	&& echo "${GMAILFILTERS_SHA256}  /usr/local/bin/gmailfilters" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/gmailfilters"

$ echo "gmailfilters installed!"

# Run it!
$ gmailfilters -h

solaris

amd64 - solaris
# Export the sha256sum for verification.
$ export GMAILFILTERS_SHA256="ec369df20a8b268b3eebadc997dc9673fec8d4d6ed799ba76530dd4fcda022d0"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/gmailfilters/releases/download/v0.0.0/gmailfilters-solaris-amd64" -o "/usr/local/bin/gmailfilters" \
	&& echo "${GMAILFILTERS_SHA256}  /usr/local/bin/gmailfilters" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/gmailfilters"

$ echo "gmailfilters installed!"

# Run it!
$ gmailfilters -h

windows

386 - windows
# Export the sha256sum for verification.
$ export GMAILFILTERS_SHA256="04d422dd792a3a23fc5128420ed3b08a89f6973f69e2104f01764323d16ddb71"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/gmailfilters/releases/download/v0.0.0/gmailfilters-windows-386" -o "/usr/local/bin/gmailfilters" \
	&& echo "${GMAILFILTERS_SHA256}  /usr/local/bin/gmailfilters" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/gmailfilters"

$ echo "gmailfilters installed!"

# Run it!
$ gmailfilters -h
amd64 - windows
# Export the sha256sum for verification.
$ export GMAILFILTERS_SHA256="b49d90dcc617a40505df427d10eb3e65677fc8c8ecca296e692475191024a657"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/gmailfilters/releases/download/v0.0.0/gmailfilters-windows-amd64" -o "/usr/local/bin/gmailfilters" \
	&& echo "${GMAILFILTERS_SHA256}  /usr/local/bin/gmailfilters" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/gmailfilters"

$ echo "gmailfilters installed!"

# Run it!
$ gmailfilters -h
Assets 35