projects
/
gatekeeper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6746763
)
Import existing script generate-ftpindex.sh
author
unknown
<sysadmin@gnu.org>
Wed, 5 Oct 2022 02:15:30 +0000
(21:15 -0500)
committer
Jacob Bachmeyer
<jcb@gnu.org>
Wed, 5 Oct 2022 02:16:04 +0000
(21:16 -0500)
generate-ftpindex.sh
[new file with mode: 0644]
patch
|
blob
diff --git a/generate-ftpindex.sh
b/generate-ftpindex.sh
new file mode 100644
(file)
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