diff options
author | onefang | 2019-12-10 16:37:25 +1000 |
---|---|---|
committer | onefang | 2019-12-10 16:37:25 +1000 |
commit | c0c22e3f9da5ebbcda40929029ae21b07889f9d0 (patch) | |
tree | 2bd2fa79be072760a230069850b117655144ec9c | |
parent | Document the rescue of old RRD data. (diff) | |
download | apt-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.
Diffstat (limited to '')
-rwxr-xr-x | apt-panopticon-RRD-rescue.lua | 4 |
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 | ||
13 | local files = io.popen('ls -1 *.tar.xz') | 13 | local files = io.popen('ls -1 *.tar.xz') |
14 | for l in files:lines() do | 14 | for 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) |
17 | end | 17 | end |
18 | 18 | ||
19 | local files = io.popen('ls -d1 results_*') | 19 | local files = io.popen('ls -d1 results_*') |