Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zmv another zsh gem



Christian Taylor wrote:
> On Tuesday 15 February 2005 09:51, zzapper wrote:
> 
> > In comp.editors I came across mmv and zmv
> > [...]
> > The case changers don't work on Cygwin because WinXP grumbles target &
> > source filename are the same!
> 
> Using mv to change the case of a filename doesn't work on any "caseless" file
>  
> system like vfat, because both filenames refer to the same, existing file. 
> Afaik POSIX compliance demands an error in that case. You'll have to do it in
>  
> two steps.

Now I remember, zmv even warns you about this:

% zmv foobar Foobar
zmv: error(s) in substitution:
file exists: Foobar
(Probably the same file, owing to file system limitations.)


-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author