From: unknown Date: Wed, 5 Oct 2022 02:15:30 +0000 (-0500) Subject: Import existing script generate-ftpindex.sh X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fdc5f72d3a433eed433a45126539f53baf7b470b;p=gatekeeper.git Import existing script generate-ftpindex.sh --- diff --git a/generate-ftpindex.sh b/generate-ftpindex.sh new file mode 100644 index 0000000..4800771 --- /dev/null +++ b/generate-ftpindex.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +ls -lrRt /home/ftp | gzip -9 -c > /home/ftp/ls-lrRt.txt.gz +cd /home/ftp +find . | gzip -9 -c > /home/ftp/find.txt.gz +tree -aJsD --timefmt %s | gzip -9 -c > /home/ftp/tree.json.gz