[Date Prev][Date
Next][Thread Prev][Thread Next][Date
Index][Thread Index]
Re: 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
Home |
Main Index |
Thread Index
|