diff options
author | Pjotr Prins | 2021-09-15 06:12:57 -0500 |
---|---|---|
committer | Pjotr Prins | 2021-09-15 06:12:57 -0500 |
commit | c9a8663ee8b5bb7e2dcda6d443c07f32e977f95a (patch) | |
tree | 72fdd6e166c7ebc914744fc0f400598e1a34464a /issues/genenetwork1/gn1-slowness.gmi | |
parent | feaaf31062a77b986792a21b9df3cd617611fda4 (diff) | |
download | gn-gemtext-c9a8663ee8b5bb7e2dcda6d443c07f32e977f95a.tar.gz |
GN1
Diffstat (limited to 'issues/genenetwork1/gn1-slowness.gmi')
-rw-r--r-- | issues/genenetwork1/gn1-slowness.gmi | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/issues/genenetwork1/gn1-slowness.gmi b/issues/genenetwork1/gn1-slowness.gmi new file mode 100644 index 0000000..d632f7c --- /dev/null +++ b/issues/genenetwork1/gn1-slowness.gmi @@ -0,0 +1,17 @@ +# GN1 Slowness + +GN1 needs to clean up the following + +``` +GNRoot="/gnshare/gn" +find $GNRoot/web/tmp -mmin +100 -exec rm -rfv {} \; +find $GNRoot/web/image -mmin +100 -exec rm -rfv {} \; +mkdir -p $GNRoot/web/tmp +mkdir -p $GNRoot/web/image +``` + +Note that the -delete switch is much faster than -exec, so + +``` +find $GNRoot/web/image -mmin +100 -delete +``` |