Configuration

This suppose to be run only once.


In [3]:
#rmdir */
echo `date` "Creating directories..."
i=0
while read line; do
    user=`echo $line | cut -f1 -d" "`
    if [ ! -d $user ]; then
        i=$((i+1))
        mkdir $user
    fi
    cp NGSchool_* $user
done < ../participants.txt
echo `date` "$i directories created!"


Wed Aug 17 20:11:03 CEST 2016 Creating directories...
Wed Aug 17 20:11:03 CEST 2016 0 directories created!

In [ ]: