The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: RE: [XBOX] Buying Advice


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tag & Rename question....



Except cygwin refuses to install on Windows 2003 server... -it barfs during
the setup routine...

Paul G.



>From: "Paul Robinson" <ukcueman@xxxxxxx>
>Reply-To: ukha_d@xxxxxxx
>To: <ukha_d@xxxxxxx>
>Subject: Re: [ukha_d] Tag & Rename question....
>Date: Wed, 21 May 2003 12:19:56 +0100
>
>OTOH cygwin would let you play with unix things without actually having
the
>OS there. It's very good for having all the usual unix command line
tools
>on
>a windows machine.
>
>You know you want to be able to use that one-line perl script :-)
>
>http://www.cygwin.com/
>
>
>----- Original Message -----
>From: "Paul Gordon" <paul_gordon@xxxxxxx>
>To: <ukha_d@xxxxxxx>
>Sent: Wednesday, May 21, 2003 12:10 PM
>Subject: Re: [ukha_d] Tag & Rename question....
>
>
> > Oh well, guess I'll have to resort to knocking something up
myself with
>a
> > bit of vbscript then I guess...
> >
> > cheers anyway...
> >
> > Paul G.
> >
> >
> >
> > >From: "K. C. Li" <li@xxxxxxx>
> > >Reply-To: ukha_d@xxxxxxx
> > >To: ukha_d@xxxxxxx
> > >Subject: Re: [ukha_d] Tag & Rename question....
> > >Date: Wed, 21 May 2003 12:01:01 +0100 (BST)
> > >
> > >On Wed, 21 May 2003, Paul Gordon wrote:
> > >
> > > > D:\MP3 Archive\- DHA Archive M-Z\Archive
N-Z\Sweet>perl -e
>'for(`find
>.
> > > > -type d`
> > > > ){chomp;$o=$_;if(s/.*-\s*//){rename $o,$_ unless -d
$_;};}'
> > > >
> > > > Can't find string terminator "'" anywhere
before EOF at -e line 1.
> > > >
> > > > I'm using Activestate Perl 5.6.1 on Windows 2003
server...
> > >
> > >I believe Ant's one-liner is meant for Unix/Linux shell
script use. The
> > >"for" command loops through every item found by the
"find" command and
> > >executing the Perl commands for each.
> > >
> > >Regards,
> > >
> > >Kwong Li
> > >li@xxxxxxx
> > >Laser Business Systems Ltd.
> > >http://www.laser.com
> > >
> > >
> > >
> > >** UKHA2004 BE THERE! ** - start planning now.
> > >
> > >http://www.automatedhome.co.uk
> > >Post message: ukha_d@xxxxxxx
> > >Subscribe:  ukha_d-subscribe@xxxxxxx
> > >Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
> > >List owner:  ukha_d-owner@xxxxxxx
> > >
> > >Your use of Yahoo! Groups is subject to
>http://docs.yahoo.com/info/terms/
> > >
> > >
> >
> > _________________________________________________________________
> > Sign-up for a FREE BT Broadband connection today!
> > http://www.msn.co.uk/specials/btbroadband
> >
> >
> >
> > ** UKHA2004 BE THERE! ** - start planning now.
> >
> > http://www.automatedhome.co.uk
> > Post message: ukha_d@xxxxxxx
> > Subscribe:  ukha_d-subscribe@xxxxxxx
> > Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
> > List owner:  ukha_d-owner@xxxxxxx
> >
> > Your use of Yahoo! Groups is subject to
>http://docs.yahoo.com/info/terms/
> >
>
>
>
>** UKHA2004 BE THERE! ** - start planning now.
>
>http://www.automatedhome.co.uk
>Post message: ukha_d@xxxxxxx
>Subscribe:  ukha_d-subscribe@xxxxxxx
>Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
>List owner:  ukha_d-owner@xxxxxxx
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>

_________________________________________________________________
Use MSN Messenger to send music and pics to your friends
http://www.msn.co.uk/messenger



Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.