Re: Scripting help

2009-08-03 Thread Dale Farnsworth
> > Same result with and without the -1 :( > > > > I believe it is a L (but lowercase) not a 1 It should be the number "1", meaning list one file per line. -Dale --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, u

Re: Scripting help

2009-08-03 Thread Nathan England
On Sunday 02 August 2009 03:53:37 pm Shawn Badger wrote: > Same result with and without the -1 :( > I believe it is a L (but lowercase) not a 1 --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to ch

Re: Scripting help

2009-08-02 Thread Shawn Badger
This worked after I removed the local before the variable. For some reason it didn't like it in the script. Thanks to everyone that helped. On Sun, Aug 2, 2009 at 1:40 PM, Joseph Sinclair wrote: > You might try this if you have bash available: > #!/bin/bash > # take all avi files in the current

Re: Scripting help

2009-08-02 Thread Shawn Badger
Same result with and without the -1 :( On Sun, Aug 2, 2009 at 11:31 AM, Eric Shubert wrote: > Eric Shubert wrote: > > Shawn Badger wrote: > >> I have bee playing with this script for a while and I can't seem to find > >> the magic to make it work right. The script basically takes all the avi >

Re: Scripting help

2009-08-02 Thread Joseph Sinclair
You might try this if you have bash available: #!/bin/bash # take all avi files in the current directory # and transcode to Flash (flv) video files in the flv subdirectory. for filename in *.avi ; do local basename=${filename%.avi} echo file base name is ${basename} ffmpeg -i "${basename}.av

Re: Scripting help

2009-08-02 Thread Eric Shubert
Eric Shubert wrote: > Shawn Badger wrote: >> I have bee playing with this script for a while and I can't seem to find >> the magic to make it work right. The script basically takes all the avi >> files in in a folder and converts them to flash. >> Here is the simple script: >> >> #!/bin/sh >> ls

Re: Scripting help

2009-08-02 Thread Eric Shubert
Shawn Badger wrote: > I have bee playing with this script for a while and I can't seem to find > the magic to make it work right. The script basically takes all the avi > files in in a folder and converts them to flash. > Here is the simple script: > > #!/bin/sh > ls *.avi|cut -d. -f1 | while re

Scripting help

2009-08-02 Thread Shawn Badger
I have bee playing with this script for a while and I can't seem to find the magic to make it work right. The script basically takes all the avi files in in a folder and converts them to flash. Here is the simple script: #!/bin/sh ls *.avi|cut -d. -f1 | while read i do echo "this is the fi