File size: 260 Bytes
888842c
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
for d in scans/* ; 
do     
    scene=$(echo $d | cut -d'/' -f2)
    echo "Processing scene: $scene"
    python reader.py --scene $scene &
done


# ls scans/* | cut -d'/' -f2 | xargs -P 16 -I {} sh -c 'echo "Processing scene: {}"; python reader.py --scene {}'