You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# output download link to stdout without download file
redl -gl "36189" -p ".asc" -nd
# download use other download tool(aria2 curl wget etc)
aria2c "$(redl -gl '36189' -p '.asc' -nd)"
curl -LOJ "$(redl -gl '36189' -p '.asc' -nd)"
wget --content-disposition "$(redl -gl '36189' -p '.asc' -nd)"# use with other download tools in Windows bat filefor/f "tokens=*" %%iin ('redl -gl 36189 -p .asc -nd') do (aria2c -x 4 %%i)
Install
# system is linux(debian,redhat linux,ubuntu,fedora...) and arch is amd64
curl -Lo /usr/local/bin/redl https://github.com/gek64/redl/releases/latest/download/redl-linux-amd64
chmod +x /usr/local/bin/redl
# system is freebsd and arch is amd64
curl -Lo /usr/local/bin/redl https://github.com/gek64/redl/releases/latest/download/redl-freebsd-amd64
chmod +x /usr/local/bin/redl
Compile
How to compile if prebuilt binaries are not found
git clone https://github.com/gek64/redl.git
cd redl
export CGO_ENABLED=0
go build -v -trimpath -ldflags "-s -w"