Sindbad~EG File Manager

Current Path : /usr/local/bin/
Upload File :
Current File : /usr/local/bin/zstdless

#!/bin/sh

zstd=${ZSTD:-zstd}

# TODO: Address quirks and bugs tied to old versions of less, provide a mechanism to pass flags directly to zstd

export LESSOPEN="|-${zstd} -cdfq %s"
exec less "$@"

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists