Browse Source

Skript für "confidential" data.

master
Julian M. Kunkel 3 years ago
parent
commit
3899e8fcdc
  1. 14
      scripts/extract-conf-data.sh

14
scripts/extract-conf-data.sh

@ -0,0 +1,14 @@
#!/bin/bash
if [[ ! -e datasets/job_metadata_confidential.csv ]] ; then
exit 0
fi
# This script extracts the actual usernames and job-informations
# As it is confidential information, we cannot include the files
for I in $@ ; do
DATA=$(grep $I datasets/job_metadata.csv | cut -d "," -f 7-)
echo -n $I,
grep $DATA datasets/job_metadata_confidential.csv | cut -d "," -f 1-5
done
Loading…
Cancel
Save