Awesome, my limited knowledge of bash didn't know how to do this