Hi,
After you guys sent me all those wonderful links yesterday I've become
a one liner freak ;-))
This one is driving me crazy, no matter how I do the unless, it always
ignores it and overwrites an existing file.
I've been struggling with it for hours and have tried all combinations
but just can't
perl -e 'for (@ARGV) {rename $_,uc($_) unless -e "uc($_)"; } ' *
What is wrong with it ???
Thanks,
Jerry
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- parse out parts of dir / files / Johnson, Shaunn
- Re: parse out parts of dir / files / Rob Dixon
- Re: parse out parts of dir / files / John W. Krahn
- Re: One liner brain curler (for me ;-) Jerry Rocteur
- Re: One liner brain curler (for me ;-) John W. Krahn
- Re: One liner brain curler (for me ;-) Jerry Rocteur
- Re: One liner brain curler (for me ;... John W. Krahn
- RE: parse out parts of dir / files / Perry, Alan