diff options
Diffstat (limited to '')
-rwxr-xr-x | apt-panopticon-update-data.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-panopticon-update-data.lua b/apt-panopticon-update-data.lua index 0371375..98c909a 100755 --- a/apt-panopticon-update-data.lua +++ b/apt-panopticon-update-data.lua | |||
@@ -41,6 +41,6 @@ end | |||
41 | 41 | ||
42 | local files = io.popen('ls -1 results_*.tar.xz') | 42 | local files = io.popen('ls -1 results_*.tar.xz') |
43 | for l in files:lines() do | 43 | for l in files:lines() do |
44 | print('rm -rf ' .. l:sub(1, 24)) | 44 | print('tar -c --xz ' .. l:sub(1, 24) .. ' -f ' .. l .. '; rm -fr ' .. l:sub(1, 24)) |
45 | os.execute('rm -rf ' .. l:sub(1, 24)) | 45 | os.execute('tar -c --xz ' .. l:sub(1, 24) .. ' -f ' .. l .. '; rm -fr ' .. l:sub(1, 24)) |
46 | end | 46 | end |