for i in ./predictions/dev-0/labels/*txt ; do python change_to_nonrelative.py $i $i-nonrelative ; done for i in ./predictions/test-A/labels/*txt ; do python change_to_nonrelative.py $i $i-nonrelative ; done