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

Re: Renaming multiple files



Andy Spiegl wrote:
>> 553 jean-luc@picard (ttypts/12) ~/test/zsh> zmodload files
>What does that command mean?

It loads the `files' module.  Modules generally add new capabilities to
zsh; this module provides some new builtin commands, among them `mv'.
The result is that, in the loop, the zsh process actually calls rename(),
rather than forking off a new process to exec /bin/mv.

-zefram



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