Re: Scripting help

2005-05-12 Thread Robert Huff
Roland Smith writes: > Finding files is done (unsurprisingly) with find. E.g. to find all .c > files under the current directory do: > > find . -name *.c I believe find . -name "*.c" is prefered, so the wildcard doesn't get mangled by the shell.

Re: Scripting help

2005-05-12 Thread Alejandro Pulver
On Thu, 12 May 2005 11:44:49 -0500 Chris <[EMAIL PROTECTED]> wrote: > I would like some advice on how to script something that will search > directories below a named root for all files ending with a certain > file extension. > > Then, mv or cp them to another location. > > > -- > Best regard

Re: Scripting help

2005-05-12 Thread Roland Smith
On Thu, May 12, 2005 at 11:44:49AM -0500, Chris wrote: > I would like some advice on how to script something that will search > directories below a named root for all files ending with a certain file > extension. Finding files is done (unsurprisingly) with find. E.g. to find all .c files under t

Re: Scripting help

2005-05-12 Thread Philip Hallstrom
install the 'mmv' port. From the description... This is mmv, a program to move/copy/append/link multiple files according to a set of wildcard patterns. The wildcard matches can be reused in forming the target names. You can i.e. move all *.c.or? files to or?.new.*.c by saying 'mmv "*.c.or?" or=2.ne

Re: Scripting help

2004-01-09 Thread Chris Howells
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 09 January 2004 15:19, Jack L. Stone wrote: > My scripting skills are very limited and need help on how to purge my mail > lists. We maintain several majordomo mail lists on a Tech magazine site > (www.antennex.com) with 60,000 readers. Needl

Re: Scripting help

2004-01-09 Thread Chris Howells
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 09 January 2004 15:19, Jack L. Stone wrote: > My scripting skills are very limited and need help on how to purge my mail > lists. We maintain several majordomo mail lists on a Tech magazine site > (www.antennex.com) with 60,000 readers. Needl

Re: Scripting help

2004-01-09 Thread Marty Landman
At 10:19 AM 1/9/2004, Jack L. Stone wrote: My scripting skills are very limited and need help on how to purge my mail lists. We maintain several majordomo mail lists on a Tech magazine site (www.antennex.com) with 60,000 readers. Needless to say, it is real tedious to try and keep the lists up to

Re: Scripting help

2004-01-09 Thread Matthew Seaman
On Fri, Jan 09, 2004 at 09:19:37AM -0600, Jack L. Stone wrote: > Dear list: > I hope think this is not off-topic, and is just about running a script in > FBSD to delete specific lines in a flat file based on info in another flat > file. > > My scripting skills are very limited and need help on how

Re: Scripting help

2004-01-09 Thread Jason Stewart
On 09/01/04 09:19 -0600, Jack L. Stone wrote: > Dear list: > I hope think this is not off-topic, and is just about running a script in > FBSD to delete specific lines in a flat file based on info in another flat > file. > > My scripting skills are very limited and need help on how to purge my mail