Merge branch 'master' of ssh://git.hps.vi4io.org:3001/eugen.betke/mistral-io-datasets
This commit is contained in:
commit
9d85bced57
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
filenames=( "job_codings_v3.csv" )
|
||||
filenames=( ${filenames[@]} "job_metadata.csv" )
|
||||
filenames=( ${filenames[@]} $( ls job_similarities_*.csv ) )
|
||||
|
||||
echo "${filenames[*]}"
|
||||
|
||||
for in_fn in ${filenames[@]}; do
|
||||
out_fn="${in_fn}.tar.xz"
|
||||
if [ -f "${in_fn}" ]; then
|
||||
if [ ! -f "${out_fn}" ]; then
|
||||
echo "Compressing ${in_fn}"
|
||||
tar -cf - "${in_fn}" | xz -9 > "${out_fn}"
|
||||
else
|
||||
echo "Skipping ${out_fn}. File exists."
|
||||
fi
|
||||
fi
|
||||
done
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue