aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2019-12-10 16:37:25 +1000
committeronefang2019-12-10 16:37:25 +1000
commitc0c22e3f9da5ebbcda40929029ae21b07889f9d0 (patch)
tree2bd2fa79be072760a230069850b117655144ec9c
parentDocument the rescue of old RRD data. (diff)
downloadapt-panopticon-c0c22e3f9da5ebbcda40929029ae21b07889f9d0.zip
apt-panopticon-c0c22e3f9da5ebbcda40929029ae21b07889f9d0.tar.gz
apt-panopticon-c0c22e3f9da5ebbcda40929029ae21b07889f9d0.tar.bz2
apt-panopticon-c0c22e3f9da5ebbcda40929029ae21b07889f9d0.tar.xz
Oops, forgot to uncomment the untaring commands.
-rwxr-xr-xapt-panopticon-RRD-rescue.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-panopticon-RRD-rescue.lua b/apt-panopticon-RRD-rescue.lua
index 8fd06c0..44fe2e6 100755
--- a/apt-panopticon-RRD-rescue.lua
+++ b/apt-panopticon-RRD-rescue.lua
@@ -12,8 +12,8 @@ os.execute('rm -fr rrd')
12 12
13local files = io.popen('ls -1 *.tar.xz') 13local files = io.popen('ls -1 *.tar.xz')
14for l in files:lines() do 14for l in files:lines() do
15-- print('tar -xf ' .. l) 15 print('tar -xf ' .. l)
16-- os.execute('tar -xf ' .. l) 16 os.execute('tar -xf ' .. l)
17end 17end
18 18
19local files = io.popen('ls -d1 results_*') 19local files = io.popen('ls -d1 results_*')