#!/bin/bash # call me from parent directory for I in job_similarities_*.csv ; do ./scripts/plot.R $I > description.txt mkdir $I.out rm $I.out/* mv *.png *.pdf description.txt $I.out done