ok so i at least got somewhere. i found out how to operate on a directory, but first im trying to strip all the whitespace and trailing backslash so i can i have a neat and tidy name to feed into the output argument of k9copy. pasted here: http://pastebin.com/d4932b197
On Mon, Jul 21, 2008 at 12:07 PM, Anthony Parks <[EMAIL PROTECTED]> wrote: > hi im currently writing a bash script to take each subdirectory of .vob > files in a film directory and shrink each subdirectory into an *.iso that > can fit onto a single-layer DVD-R using k9copy's command-line parser. how do > i loop through subdirectories using a "for" iterative construct? > > although this doesnt work, the code below should give anybody some idea of > what i'd like the script to do: > > for dir in dirs > do > k9copy --input $PWD --output '$PWD'+".iso" > done > > obviously this is something like pseudocode right now, but... > any suggestions? > > > On Mon, Jul 21, 2008 at 12:00 PM, <[EMAIL PROTECTED]> wrote: > >> Send mhvlug mailing list submissions to >> [email protected] >> >> To subscribe or unsubscribe via the World Wide Web, visit >> http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug >> or, via email, send a message with subject or body 'help' to >> [EMAIL PROTECTED] >> >> You can reach the person managing the list at >> [EMAIL PROTECTED] >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of mhvlug digest..." >> >> >> Today's Topics: >> >> 1. Re: New Member saying Hi (Chris Knadle) >> 2. Re: New Member saying Hi (Jack Chastain) >> 3. Re: New Member saying Hi (Chris Knadle) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Sun, 20 Jul 2008 12:10:11 -0400 >> From: Chris Knadle <[EMAIL PROTECTED]> >> Subject: Re: [mhvlug] New Member saying Hi >> To: [email protected] >> Message-ID: <[EMAIL PROTECTED]> >> Content-Type: text/plain; charset="iso-8859-1" >> >> On Sunday 20 July 2008, Jack Chastain wrote: >> > Greetings to the list. >> > >> > I am a new member, live just south of the Orange/Ulster line not all >> that >> > far from New Paltz. I am a Unix SA familiar with Solaris and have just >> > started really getting involved with Linux. >> > >> > I could sure use some help :-) >> > >> > I am using Kubuntu on an IBM Thinkpad imported from overseas. Nothing >> > terribly odd with it other than some of the keys don't quite have a >> > familiar marking - problem easily solved with a seperate keyboard and >> > mouse. In all, I am very impressed with what I have so far. >> >> Concerning the laptop keyboard -- if you have multimedia keys, I was >> able >> to get the multimedia keys on an IBM Thinkpad working by a) setting the >> keyboard laytout in the Control Center under "Regional & >> Accessibility" -> "Keyboard Layout", and b) by installing KMilo to >> control >> what program to run for certain keypresses. Unfortunately for some reason >> I >> can only get ONE step in volume control with kernel 2.6.26 so far, but it >> works as expected with 2.6.24. >> >> > I would like to start thinking about doing some programming work (in a >> > language or languages as yet undefined) on the system and initially >> > installed KDevelop. Have a few problems there and if anyone would care >> to >> > share some experience regarding initial setup of that system, it would >> be >> > well received. >> >> I tried KDevelop and found it confusing and "heavy", and ended up using >> either Kate, or the Nano command-line editor after copying /etc/nanorc to >> ~/.nanorc and uncommenting the desired colorization regex sets near the >> end >> of the config file. >> >> > Looking forward to meeting some folks at the August meeting. Maybe by >> then, >> > I will understand a bit more about what I am doing! >> >> It takes time. Have fun, and see you in August. >> -- Chris >> >> -- >> >> Chris Knadle >> [EMAIL PROTECTED] >> -------------- next part -------------- >> A non-text attachment was scrubbed... >> Name: not available >> Type: application/pgp-signature >> Size: 197 bytes >> Desc: This is a digitally signed message part. >> Url : >> http://mhvlug.org/pipermail/mhvlug/attachments/20080720/fd0bf028/attachment-0001.pgp >> >> ------------------------------ >> >> Message: 2 >> Date: Sun, 20 Jul 2008 12:21:33 -0400 >> From: "Jack Chastain" <[EMAIL PROTECTED]> >> Subject: Re: [mhvlug] New Member saying Hi >> To: [email protected] >> Message-ID: >> <[EMAIL PROTECTED]> >> Content-Type: text/plain; charset=ISO-8859-1 >> >> > >> > Concerning the laptop keyboard -- if you have multimedia keys, ... >> > >> >> Thanks Chris - no - it is more that on the native keyboard, the keys have >> German and European keycaps - which makes it a little confusing when your >> touch skills are at best about 80%. No problems there - I just got a new >> separate keyboard - it works great. An example is the "1" key has above >> the >> one a "+" and below it a pipe symbol. An exclamation mark is .... there it >> is - over on the shifted close-bracket key. When Shift-1 is actually used, >> I >> DO get a bang, but on the intermediate times I don't recall exactly where >> something is, it is confusing. Just the keycaps - nothing else. >> >> >> > > I would like to start thinking about doing some programming work (in a >> > > language or languages as yet undefined) on the system and initially >> > > installed KDevelop. Have a few problems there and if anyone would care >> to >> > > share some experience regarding initial setup of that system, it would >> be >> > > well received. >> > >> > I tried KDevelop and found it confusing and "heavy", and ended up >> using >> > either Kate, or the Nano command-line editor after copying /etc/nanorc >> to >> > ~/.nanorc and uncommenting the desired colorization regex sets near the >> end >> > of the config file. >> > >> >> KDevelop itself doesn't look too bad (considering I have been a pretty >> strictly vi/command-line nut for about 10 years now) and I may continue to >> fight with it, but I will also look at your suggestions. I tend to prefer >> the simple things, but have reasons to look at IDE platforms as well. It >> has >> just been an awful long time. Right now, I am having a miserable time with >> the canned "hello world" sample giving Qt errors that I just can't work >> out. >> Sigh. It isn't even "my code"! >> >> But yes, I agree that at a very first look, it looks pretty massive. Maybe >> it will be worth it - I am not yet sure. I will find out just how >> tenacious >> I wish to be. >> >> JC >> >> > >> > _______________________________________________ >> > Mid-Hudson Valley Linux Users Group http://mhvlug.org >> > http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug >> > Upcoming Meetings (6pm - 8pm) MHVLS Auditorium >> > Jun 4 - Sqeak! and eToys >> > Jul 2 - KVM (Tenative) >> > Aug 6 - Zenos >> > Sep 3 - TBD >> > >> > >> >> >> -- >> Eschew obfuscation and pompous prolixity. >> >> Light a man a fire, he is warm for the night. >> Light a man afire, he is warm for the rest of his life. >> >> >> ------------------------------ >> >> Message: 3 >> Date: Sun, 20 Jul 2008 13:08:19 -0400 >> From: Chris Knadle <[EMAIL PROTECTED]> >> Subject: Re: [mhvlug] New Member saying Hi >> To: [email protected] >> Message-ID: <[EMAIL PROTECTED]> >> Content-Type: text/plain; charset="iso-8859-1" >> >> On Sunday 20 July 2008, Jack Chastain wrote: >> > > Concerning the laptop keyboard -- if you have multimedia keys, ... >> > >> > Thanks Chris - no - it is more that on the native keyboard, the keys >> have >> > German and European keycaps - which makes it a little confusing when >> your >> > touch skills are at best about 80%. >> >> Oh, okay -- I had understood what you had said, but not why. Now I get >> it. >> Early on I had learned to type with six fingers, and probably just as fast >> as >> I can now with touch typing, but I needed to see the keys, so I >> understand. >> I still need to learn the Dvorak layout. ;-) >> >> > > > I would like to start thinking about doing some programming work (in >> a >> > > > language or languages as yet undefined) on the system and initially >> > > > installed KDevelop. Have a few problems there and if anyone would >> care >> > > > to share some experience regarding initial setup of that system, it >> > > > would be well received. >> > > >> > > I tried KDevelop and found it confusing and "heavy", and ended up >> > > using either Kate, or the Nano command-line editor after copying >> > > /etc/nanorc to ~/.nanorc and uncommenting the desired colorization >> regex >> > > sets near the end of the config file. >> > >> > KDevelop itself doesn't look too bad (considering I have been a pretty >> > strictly vi/command-line nut for about 10 years now) and I may continue >> to >> > fight with it, but I will also look at your suggestions. I tend to >> prefer >> > the simple things, but have reasons to look at IDE platforms as well. It >> > has just been an awful long time. >> >> That happens. >> >> > Right now, I am having a miserable time >> > with the canned "hello world" sample giving Qt errors that I just can't >> > work out. Sigh. It isn't even "my code"! >> >> Be mindful of which Qt development tree you have installed; you might be >> trying to compile Qt 3 programs with the Qt 4 development tree... or >> vice-versa. I found it easier to use Qt's 'qmake' to create the Makefile >> and >> which got rid of a lot of the compile difficulty I was running into. >> Also, since you're running Ubutnu, you need to install several -dev >> libraries in order to compile programs, such as libqt4-dev [or >> libqt3-mt-dev], along with qt4-dev-tools, etc. The development libraries >> are >> separated from the rest of the binaries to save space, because most people >> don't need them -- but you do. And you can install both Qt3 development >> as >> well as Qt4 development at the same time, BTW. >> >> > But yes, I agree that at a very first look, it looks pretty massive. >> Maybe >> > it will be worth it - I am not yet sure. I will find out just how >> tenacious >> > I wish to be. >> >> I figure I can go back to KDevelop once I have a large enough project >> that >> needs a big IDE. Kate can deal with several files at once as well as an >> overall project, and it's a much lighter interface. However, somehow I >> found >> myself longing for working in a text console with colorized code. I >> tried 'jed' for a bit, which was pretty good but I didn't like the way it >> wanted to format code it showed, so I ended up back with Nano. >> >> I just want something that keeps me working and productive. >> >> -- Chris >> >> -- >> >> Chris Knadle >> [EMAIL PROTECTED] >> -------------- next part -------------- >> A non-text attachment was scrubbed... >> Name: not available >> Type: application/pgp-signature >> Size: 197 bytes >> Desc: This is a digitally signed message part. >> Url : >> http://mhvlug.org/pipermail/mhvlug/attachments/20080720/e540cc8a/attachment-0001.pgp >> >> ------------------------------ >> >> _______________________________________________ >> mhvlug mailing list >> [email protected] >> http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug >> >> >> End of mhvlug Digest, Vol 11, Issue 21 >> ************************************** >> > > > > -- > Anthony Parks > http://www.computingminimalism.org > > Please avoid sending me Word or PowerPoint attachments. > See http://www.gnu.org/philosophy/no-word-attachments.html > > Say no to software patents: http://www.nosoftwarepatents.com/ > -- Anthony Parks http://www.computingminimalism.org Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html Say no to software patents: http://www.nosoftwarepatents.com/ _______________________________________________ Mid-Hudson Valley Linux Users Group http://mhvlug.org http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug Upcoming Meetings (6pm - 8pm) MHVLS Auditorium Jun 4 - Sqeak! and eToys Jul 2 - KVM (Tenative) Aug 6 - Zenos Sep 3 - TBD
