diff options
author | dvs1 | 2025-03-17 08:49:04 +1000 |
---|---|---|
committer | dvs1 | 2025-03-17 08:49:04 +1000 |
commit | 952baa92cb43609f56f0fd74901a87924c16fde2 (patch) | |
tree | c7cc430df5f228653e5576acf4cdfbc4a267a0b9 | |
parent | TODO++ (diff) | |
download | notYetAnotherWiki-952baa92cb43609f56f0fd74901a87924c16fde2.zip notYetAnotherWiki-952baa92cb43609f56f0fd74901a87924c16fde2.tar.gz notYetAnotherWiki-952baa92cb43609f56f0fd74901a87924c16fde2.tar.bz2 notYetAnotherWiki-952baa92cb43609f56f0fd74901a87924c16fde2.tar.xz |
Add a cleaning script.
-rwxr-xr-x | SuckItClean | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/SuckItClean b/SuckItClean new file mode 100755 index 0000000..1b8a025 --- /dev/null +++ b/SuckItClean | |||
@@ -0,0 +1,13 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | TIMEFORMAT=" took %lR using %P%% CPU" | ||
4 | time { | ||
5 | pushd /opt/nyaw | ||
6 | |||
7 | rm -fr Foswiki/* | ||
8 | rm -fr PmWiki/* | ||
9 | rm -fr unsorted | ||
10 | rm -fr users/* | ||
11 | popd | ||
12 | ./SuckIt | ||
13 | } | ||