Turns out I was just going at it in an overcomplicated fashion, here's the working script... //give expression to all selected for($n in `ls -sl`){ expression -s ($n + ".translateX = time;") -o $n -ae 1 -uc all ; } Cheers, Chris