On Fri, 2004-12-03 at 17:45, John Reed wrote: > Hi there wamuggers > > I have a folder containing an image sequence saved from FCP in a folder. > > Projectname 0001.png > Projectname 0002.png > > Etc to 2887 > > What I want to do is separate the odd numbered files from the even no. of > files (I'm converting interlaced alternating field 3d into red blue 3d) > > Does anybody know how to do this separation process?
This should do it: mkdir odd ; mkdir even ; for n in `seq -f%04g 1 2 2887` ; do mv "Projectname $n.png" odd/ ; done ; mv Projectname* even/ (All on one line) Onno Benschop Connected via Optus B3 at S34°33'15" - E150°21'57" (Moss Vale, NSW) -- ()/)/)() ..ASCII for Onno.. |>>? ..EBCDIC for Onno.. --- -. -. --- ..Morse for Onno.. Proudly supported by Skipper Trucks, Highway1, Concept AV, Sony Central, Dalcon ITmaze - ABN: 56 178 057 063 - ph: 04 1219 8888 - onno at itmaze dot com dot au