Archives

Date
  • 01
  • 02
  • 03
  • 04
  • 05
  • 06
  • 07
  • 08
  • 09
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

abby elliott

one of the replacements for amy poehler and tina fey on SNL is abby elliott. sigh..

she kinda reminds me of jayma mays.. double sigh..


for

i like the "for" command in windows. i'm guessing it was stolen from unix, but i don't care. it helps me a lot for when i need to do something on a set of files, but i don't want to write a proper script.

here's a quick example to illustrate its power. say i have sets of files like this:
vid01-2p.avi
vid02-2p.avi
...
vid74-2p.avi

aud01.mp3
aud02.mp3
...
aud74.mp3

and i want to mux them together to get clip01.divx, clip02.divx... clip74.divx, and then run a checker to verify them.

this can be easily accomplished with "for":

for /L %x in (01,1,74) do (
mux.exe -v vid%x-2p.avi -a aud%x.mp3 -o clip%x.divx
checkClip.exe -i clip%x.divx > clip%x.log
)

this will create 74 files using my aud* and vid* files as input, and then check them.

for more info, just type "help for" at the command prompt.


[Listening to: M.I.A - Paper Planes (3:25)]