[erco@tahoe]: frames -help
NAME
frame - a frame renumbering tool
OPERATIONS [one must be specified]
-m[ove] oldrange newrange - Move frame range
-l[ink] oldrange newrange - Links
-s[link] oldrange newrange - Symbolic Links
-e[xist] range - Existance test a frame range
-r[m] range - Remove a frame range
range -exec cmd %s [%s..] - Execute a command on a frame range
OPTIONS
-d[ebug] - debug [dont do anything - just print]
-q[uiet] - quiet
FRAME RANGES
A range can be:
foo.%d.rgb 1 10 - foo.1.rgb, foo.2.rgb..
foo.%04d.rgb 1 10 2 - foo.0001.rgb, foo.0003.rgb..
foo.%03d.rgb 1 10 2 - foo.001.rgb, foo.003.rgb..
EXAMPLES
RENAME FRAMES. Renames one range of frames to another.
The following changes the basename from foo to bla:
frames -move foo.%04d.rla 1 10 bla.%04d.rla
----------------- ------------
Source Range Dest Name
SHIFT FRAMES. Shifts frames 1 thru 10 to 21 thru 30:
frames -move foo.%04d.rla 1 10 foo.%04d.rla 21
----------------- ---------------
Source Range Dest Range
EXECUTE COMMAND. Executes imconv(1) to convert frames 1 thru 10
from rla files to rgb files:
frames foo.%04d 1 10 -exec imconv %s.rla %s.rgb
SYMBOLIC LINKS. Create 100 symbolic links that alternatly link
between a.0001.rgb and a.0002.rgb:
frames -slink a.%04d.rgb 1 2 b.%04d.rgb 1 100
REMOVE. Removes frames:
frames -rm a.%04d.rgb 1 30
To SEE what these commands do without running them, use -debug
and the equivalent unix commands are printed to stdout.
|