Re: [SLUG] mixED CAse to lower.case ?
On Thu, 2003-07-31 at 13:25, Jan Schmidt wrote: > Which point? > There are tons of ways to 'skin a cat' they say. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] mixED CAse to lower.case ?
> On Thu, 2003-07-31 at 11:49, Ken Foskey wrote: > > > Shouldn't the $* be "$@" to ensure that filenames with spaces works as > > well :-) > > Thank you for proving the point ;-) > Which point? J. -- Jan Schmidt [EMAIL PROTECTED] Have you been half-asleep? Have you heard voices? I've heard them calling my name... -Kermit the Frog (Rainbow Connection) -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] anyone tried 2.6.0-test-beta?
> "Angus" == Angus Lees <[EMAIL PROTECTED]> writes: Angus> At Mon, 28 Jul 2003 19:44:13 +1000, Steven Kowalik wrote: >> At 6:50 pm, Monday, July 28 2003, Kevin Saenz mumbled: > Just >> wondering if anyone has started playing with > 2.6.0 kernel? What's >> it like? >> > >> I have. It's ... different. It uses modprobe.conf, rather than >> modules.conf, PCMCIA requires tweaking, and X doesn't work. And >> I've panic'd it twice. Oh well. Angus> I was going to say I hadn't noticed any difference - but I just Angus> tried getting X to work and I can't find the right module to Angus> make /dev/psaux work :( /dev/psaux doesn't work anymore if you have a synaptics touchpad. You need to use the new event handling interface instead. Pete C -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] mixED CAse to lower.case ?
On Thu, 2003-07-31 at 11:49, Ken Foskey wrote: > Shouldn't the $* be "$@" to ensure that filenames with spaces works as > well :-) Thank you for proving the point ;-) (and yes, you're right) -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] mixED CAse to lower.case ?
On Thu, 2003-07-31 at 11:35, Tony Green wrote: > On Thu, 2003-07-31 at 11:25, Oscar Plameras wrote: > > > $cat /appl/bin/mv.sh > > > > #!/bin/bash > > # rename files with uppercase names to lowercase > #V changed this bit to allow filenames as args > > for i in $* > > do > > mv $i `echo $i | tr '[A-Z]' '[a-z]'` > > done > > /appl/bin/mv.sh *jpg Shouldn't the $* be "$@" to ensure that filenames with spaces works as well :-) -- Thanks KenF OpenOffice.org developer -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] mixED CAse to lower.case ?
On Thu, 2003-07-31 at 11:25, Oscar Plameras wrote: > $cat /appl/bin/mv.sh > > #!/bin/bash > # rename files with uppercase names to lowercase #V changed this bit to allow filenames as args > for i in $* > do > mv $i `echo $i | tr '[A-Z]' '[a-z]'` > done /appl/bin/mv.sh *jpg -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] mixED CAse to lower.case ?
There are tons of ways to 'skin a cat' they say. Bash'yer and simpler, the better for me. I rely on 'shell' or 'bourne' scripts the 'natural' language for my ways. Renaming of files posed in this thread, for example, I have: $cat /appl/bin/mv.sh #!/bin/bash # rename files with uppercase names to lowercase for i in `cat fle.txt` do mv $i `echo $i | tr '[A-Z]' '[a-z]'` done $ls -l /appl/bin/mv.sh -rwx-r-x--- 1oscarp71 Jul 31 11:19 mv.sh $ls * > fle.txt $cat fle.txt jd.JPG bj.JPEG $/appl/bin/mv.sh $ls * jd.jpg bj.jpeg $ > > Here's a handy perl script which lets you use perl statements to modify > file names. It may be the same thing as your rename program or not - > rename is not a standard item in all distributions. > > -- > #!/usr/local/bin/perl > > # rename script examples from lwall: > # rename 's/\.orig$//' *.orig > # rename 'y/A-Z/a-z/ unless /^Make/' * > # rename '$_ .= ".bad"' *.f > # rename 'print "$_: "; s/foo/bar/ if =~ /^y/i' * > > $op = shift; > for (@ARGV) { > $was = $_; > eval $op; > die $@ if $@; > rename($was,$_) unless $was eq $_; > } > -- > > To do it recursively, you'd combine it with find and xargs: > > find . -print0 | xargs -0 rename 's/\.JPE?G$/.jpg/i' > > that will turn .JPG, .jpeg or .JPEG suffixes into .jpg http://www.acay.com.au/~oscarp/disclaimer.html -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Thunderbird 0.1
Richard Neal wrote: > > Shaun Oliver wrote: > > >wtf is thunderbird? > >lol > > > Well the Mozilla people have decided to separate the browser and the > email components of Mozilla into lighter standalone applications > > Browser = Firebird about 10 meg supports flash and java > Email = Thunderbird 9.4mb YES, YES, YES,Thank bloody goodness. > Both work on windows and Linux (think OSX too) Oooh, even better. -- Terry Collins {:-)}}} email: terryc at woa.com.au www: http://www.woa.com.au Wombat Outdoor Adventures "People without trees are like fish without clean water" -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] mixED CAse to lower.case ?
Here's a handy perl script which lets you use perl statements to modify file names. It may be the same thing as your rename program or not - rename is not a standard item in all distributions. -- #!/usr/local/bin/perl # rename script examples from lwall: # rename 's/\.orig$//' *.orig # rename 'y/A-Z/a-z/ unless /^Make/' * # rename '$_ .= ".bad"' *.f # rename 'print "$_: "; s/foo/bar/ if =~ /^y/i' * $op = shift; for (@ARGV) { $was = $_; eval $op; die $@ if $@; rename($was,$_) unless $was eq $_; } -- To do it recursively, you'd combine it with find and xargs: find . -print0 | xargs -0 rename 's/\.JPE?G$/.jpg/i' that will turn .JPG, .jpeg or .JPEG suffixes into .jpg Andrew On Wed, 30 Jul 2003, Voytek Eymont wrote: > Date: Wed, 30 Jul 2003 21:02:29 > From: Voytek Eymont <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [SLUG] mixED CAse to lower.case ? > > what can I use to recursively change file names/extension to all lower case ? > > I have some files and/directories like: > > I tried rename few times with little effect: > > [EMAIL PROTECTED] photos]# rename .JPG *.jpg > [EMAIL PROTECTED] photos]# ls > atomfactory1.JPG makitapage03-s.jpg makitapage10-s.jpg > atomfactory2.JPG makitapage04-s.jpg makitapage11-s.jpg > atomfactory3.JPG makitapage05-s.jpg makitapage12-450.jpg > makitapage01-450.jpg makitapage06-s.jpg makitapage12-s.jpg > makitapage01-n.jpgmakitapage07-s.jpg shopfront.jpg > > > > > Voytek Eymont > -- No added Sugar. Not tested on animals. May contain traces of Nuts. If irritation occurs, discontinue use. --- Andrew McNaughton In Sydney Working on a Product Recommender System [EMAIL PROTECTED] Mobile: +61 422 753 792 http://staff.scoop.co.nz/andrew/cv.doc -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] chmoding files but no dirs or vv ?
Voytek Eymont wrote: I'm trying to chmod all (web) files to 0644 and dirs to 0755; is there a wy to differentiate files from dirs ? at the moment, I end up with both files and dirs getting set same, forcing me to then 'correct' dirs to 0755 Voytek Eymont Try chmod u=rwX,g=rX,o=rX * Man of chmod reveals that "execute only if the file is a directory or already has execute permission for some user (X)" Fil -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] chmoding files but no dirs or vv ?
On Wed, Jul 30, 2003 at 09:51:07PM +1000, Felix Sheldon wrote: > On Thu, 2003-07-31 at 07:34, Voytek Eymont wrote: > > I'm trying to chmod all (web) files to 0644 and dirs to 0755; > > is there a wy to differentiate files from dirs ? > > > > at the moment, I end up with both files and dirs getting set same, forcing me to > > then > > 'correct' dirs to 0755 > > > > find -type f -exec chmod 644 {} \; > > find -type d -exec chmod 755 {} \; Or the faster way: find -type f | xargs chmod 0644 find -type d | xargs chmod 0755 Only two executions of chmod, instead of lots. - Matt -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Filesystems
On Tue, 2003-07-29 at 12:53, Mary wrote: > On Tue, Jul 29, 2003, Jeff Waugh wrote: > > But you're better off choosing ext3, jfs or xfs over reiserfs. :-) > > C'mon, back your assertions, it makes world domination easier you know! Over twelve months ago, I did some reasonably unscientific testing between ext2, ext3, xfs and reiserfs filesystems on a ten gig partition. The only results that sticks with me is that xfs was the slowest fs to write to (by a small margin ~5%) and the fastest fs to read from (by a big margin ~10%). Also using the standard mkpart settings xfs was much more space efficient then either ext3 or reiserfs. Cheers, Malcolm V. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Filesystems
On Tue, 2003-07-29 at 14:16, Jeff Waugh wrote: > Okay, so, reiserfs has no recovery tools. None. If something goes wrong, > whammo, you're potentially toast, eggs and bacon. It doesn't use inodes Just a short note, it is possible to recover (some of) a toasted reiserfs partition (eggs, bacon or otherwise). I don't have a full link, but this comes from a (the??) reiserfs mailing list. (They first suggest you make a copy of the filesystem and mount that on a loopback, fine for those of you with the spare diskspace...) reiserfsck --rebuild-tree --scan-whole-partition This recovered ~85% of a partition I managed to scramble by formatting it as a ext3 partition. Cheers, Malcolm V. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Thunderbird 0.1
Shaun Oliver wrote: wtf is thunderbird? lol Well the Mozilla people have decided to separate the browser and the email components of Mozilla into lighter standalone applications Browser = Firebird about 10 meg supports flash and java Email = Thunderbird 9.4mb Both work on windows and Linux (think OSX too) Sorry I forget not everyone reads freshmeat.net every day or /. (slashdot.org) PS nice little intro to setting up Thunderbird here with pics http://www.nidelven-it.no/articles/introduction_to_thunderbird Thus spake Richard Neal, Hai This is my first email on Thunderbird not bad Im pretty impressed considering its Ver 0.1 -- Regards Richard Neal --- GPLG GPLGPLGP GPLGPLGPLGP GPLGP GPLMICROSOFT GPLGP GPLGPLGPLGP GPLGPLGPL GPLGPL --- [EMAIL PROTECTED] -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Thunderbird 0.1
wtf is thunderbird? lol Thus spake Richard Neal, > Hai > > This is my first email on Thunderbird not bad Im pretty impressed > considering its Ver 0.1 > > -- > Regards > > Richard Neal > > --- >GPLG > GPLGPLGP > GPLGPLGPLGP > GPLGP > GPL MICROSOFT > GPLGP > GPLGPLGPLGP > GPLGPLGPL >GPLGPL > --- > [EMAIL PROTECTED] > > > -- > SLUG - Sydney Linux User's Group - http://slug.org.au/ > More Info: http://lists.slug.org.au/listinfo/slug -- Shaun Oliver "Becareful of the toes u step on today, they maybe connected to the ass you have to kiss tomorrow!" EMAIL: [EMAIL PROTECTED] ICQ: 76958435 YAHOO: blindman01_2000 MSN: [EMAIL PROTECTED] AIM: captain nemo 200 IRC: irc.awesomechat.net: IRCNICK: blindman CHANNELS: #awesomeradio #mircpopup-magic #linux #help #ourworld #audiofile #mauisun -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Thunderbird 0.1
Hai This is my first email on Thunderbird not bad Im pretty impressed considering its Ver 0.1 -- Regards Richard Neal --- GPLG GPLGPLGP GPLGPLGPLGP GPLGP GPL MICROSOFT GPLGP GPLGPLGPLGP GPLGPLGPL GPLGPL --- [EMAIL PROTECTED] -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Multi-track recording
On Wed, 30 Jul 2003 20:04:39 +1000 Mark Johnathan Greenaway <[EMAIL PROTECTED]> wrote: > Given that ardour is getting to a quite usable state and I'm in the > market for a sound card that can do multi-track recording again, I > thought I'd ask this: > > Is anyone using sound cards under Linux that can do multi-track > recording? I'm talking about cards like the Hammerfall DSP and the Echo > Gina etc. etc. What do you recommend? I recommend any card with the ice1712 chip which includes cards from Terratac and M-Audio. > What file systems do you use > to record onto? jdub recommended xfs, some other people recommend > ReiserFS. I have questions, questions, questions ;) I very much recommend ext3 as the filesystem for the OS and apps. Its a known reliable journalled fs. For the audio filesystem XFS or Reiser would be good choices. I'll probably get around to test both a some point. Erik -- +---+ Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid) +---+ "Having a firewall that allows NFS to the Internet is like having a seat belt that lets your head touch the dashboard." -- Marcus Ranum -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] mixED CAse to lower.case ?
At Wed, 30 Jul 2003 21:02:29 , Voytek Eymont wrote: > what can I use to recursively change file names/extension to all lower case ? > I have some files and/directories like: > > I tried rename few times with little effect: > > [EMAIL PROTECTED] photos]# rename .JPG *.jpg > [EMAIL PROTECTED] photos]# ls > atomfactory1.JPG makitapage03-s.jpg makitapage10-s.jpg > atomfactory2.JPG makitapage04-s.jpg makitapage11-s.jpg > atomfactory3.JPG makitapage05-s.jpg makitapage12-450.jpg > makitapage01-450.jpg makitapage06-s.jpg makitapage12-s.jpg > makitapage01-n.jpgmakitapage07-s.jpg shopfront.jpg "rename" takes a perl expression that modifies $_. ".JPG" is not a particular useful perl expression. try: rename 's/\.JPG$/.jpg/' *.jpg i note the rename manpage has an example which translates uppercase filenames to lowercase. -- - Gus -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] chmoding files but no dirs or vv ?
On Thu, 2003-07-31 at 07:34, Voytek Eymont wrote: > I'm trying to chmod all (web) files to 0644 and dirs to 0755; > is there a wy to differentiate files from dirs ? > > at the moment, I end up with both files and dirs getting set same, forcing me to then > 'correct' dirs to 0755 > find -type f -exec chmod 644 {} \; find -type d -exec chmod 755 {} \; the {} is expanded to each file that find finds, and the ; is escaped with a \ so that the shell passes it on to find. -- Felix Sheldon <[EMAIL PROTECTED]> -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Canon i850 Printer
I've got one, and it's a lovely printer. From windows (I haven't tested it under linux yet -- different configuration). linuxprinting.org does not speak well of it, however, nor of canon in general. It works, but it prints at much lower res than it does in windows. See their database for more details. The best supported printers under linux are Epson. The C82 has similar specs for a similar price, only it's not quite as good (It does 4800x1200 in software through scaling; the canon does it natively, as I understand it) and the ink's about $30 a full refill more expensive. HTH. Matt At 19:41 30/07/2003, Murray Waldron wrote: G'day Slug, I'm thinking of buying a new printer and have my eye on the Canon i850. Has anyone tried this? I'm using RH8, and would like to know if it works before handing over my hard earnt cash. TIA Murray -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] chmoding files but no dirs or vv ?
I'm trying to chmod all (web) files to 0644 and dirs to 0755; is there a wy to differentiate files from dirs ? at the moment, I end up with both files and dirs getting set same, forcing me to then 'correct' dirs to 0755 Voytek Eymont -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] altering colors in character mode man screens ?
I'm trying to look at some man info screen via ssh; some of the keywords are in ...dark blue ? or something like dark blue, which I find quite hard to read on black screen what are the options for either changing the character mode black bg, or the higligtes used ? like, the mc screens whisch are 'eye pleasing' colors. Voytek Eymont -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] httpd.conf performance options suggestions
** Reply to note from Andrew Cowie <[EMAIL PROTECTED]> 30 Jul 2003 20:37:13 +1000 > Even if you're not using PHP, have a look at http://www.jpcache.com/ > > It seems this guy has put a great deal of effort into both a caching > engine for PHP, and making use of the gzip encoding that HTTP allows. I > might help reinforce what the docs on mod_gzip have to say. (Which, > incidentally, are at: http://www.schroepl.net/projekte/mod_gzip/ ) thanks, I do use PHP. dumb question, where does the Zend stuff fit in, I thought Zend had something to accelerate ? cache ? Voytek Eymont -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] mixED CAse to lower.case ?
what can I use to recursively change file names/extension to all lower case ? I have some files and/directories like: I tried rename few times with little effect: [EMAIL PROTECTED] photos]# rename .JPG *.jpg [EMAIL PROTECTED] photos]# ls atomfactory1.JPG makitapage03-s.jpg makitapage10-s.jpg atomfactory2.JPG makitapage04-s.jpg makitapage11-s.jpg atomfactory3.JPG makitapage05-s.jpg makitapage12-450.jpg makitapage01-450.jpg makitapage06-s.jpg makitapage12-s.jpg makitapage01-n.jpgmakitapage07-s.jpg shopfront.jpg Voytek Eymont -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] httpd.conf performance options suggestions
On Wed, 2003-07-30 at 12:56, Andrew McNaughton wrote: > If bandwidth is your bottleneck (or is expensive), look at using mod_gzip. Even if you're not using PHP, have a look at http://www.jpcache.com/ It seems this guy has put a great deal of effort into both a caching engine for PHP, and making use of the gzip encoding that HTTP allows. I might help reinforce what the docs on mod_gzip have to say. (Which, incidentally, are at: http://www.schroepl.net/projekte/mod_gzip/ ) AfC -- Andrew Frederick Cowie Operational Dynamics Consulting Pty Ltd Australia +61 2 9977 6866 North America +1 646 270 5376 http://www.operationaldynamics.com/ -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Multi-track recording
Given that ardour is getting to a quite usable state and I'm in the market for a sound card that can do multi-track recording again, I thought I'd ask this: Is anyone using sound cards under Linux that can do multi-track recording? I'm talking about cards like the Hammerfall DSP and the Echo Gina etc. etc. What do you recommend? What file systems do you use to record onto? jdub recommended xfs, some other people recommend ReiserFS. I have questions, questions, questions ;) Also, is anyone using softsynths such as Hydrogen? Timidity++ seems to have come a long way since I looked at it last, quite impressive. I'll be going along to the music SIG to pester people with these sorts of questions, but great sage ctd suggested I post music questions to the SLUG list, as everyone might be interested, including people not yet on the music SIG list. Oh, and Pia, we should play more soon :) Mark -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Canon i850 Printer
G'day Slug, I'm thinking of buying a new printer and have my eye on the Canon i850. Has anyone tried this? I'm using RH8, and would like to know if it works before handing over my hard earnt cash. TIA Murray -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Re: Debian 10th birthday gear
On Tue, Jul 08, 2003 at 12:58:01PM -0500, Adam Heath wrote: > On Tue, 8 Jul 2003, Anand Kumria wrote: > > > Hi all, > > > > [ forward as required ] > > > > I'm planning on doing some 10th birthday gear. I'm intending to get some > > t-shirts made up but if people would like something else instead/as well > > then let me know. Naturally you'll probably find it simpler to get your > > own made up if you don't live in Sydney, Australia. > > Hat? > > Is there a debian patch that can be applied to hats, shirts, backpacks? > Actually I was thinking about a red fedora - but that has been done already. It turns out I'll be probably be doing some bags with a embroided Debian logo on the front and the birthday text (10 Projects ... 1 packages) on the back. I've got about 25 people interested in the first kind (b235) and only 5 in the second kind (b247). Minimum order is typically 50. http://www.progsoc.org/~wildfire/debian/bags/deb-b235.png> http://www.progsoc.org/~wildfire/debian/bags/deb-b247a.png> The likely price would be AUD$30 for b235 and AUD$25 for b247. A shipment will be headed to HP via Bdale; so overseas orders aren't out of the question. I've also been thinking about getting some glassware made up. Pint glasses (left) or Schooners (right) for AUD$9 and AUD$16 respectively with a Debian logo, the words 'Debian' and '10 Years' on them. I've had about 15 people interested in the Pint (minimum number is 72) and none in the Schooners. http://www.progsoc.org/~wildfire/debian/mugs.png> If you, or anyone else, is interested shipping those overseas could be arranged (with the caveat that glass might break in transit). I need to know by this Friday to get them in time for Aug 16th so if you'd like any of this stuff, let me know. Regards, Anand -- `` We are shaped by our thoughts, we become what we think. When the mind is pure, joy follows like a shadow that never leaves. '' -- Buddha, The Dhammapada -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug