The thing is, once you understand the basics of how most unix filesystems
works, you realize that moving IS renaming.

So just create an alias for mv to whatever you want your rename command to
be.

The filesystem, at the most basic level, is really a set of meta data
records and indexes into those data records associated with pointers to
space on the disk where the file contents are stored.  One of those data
records is the filename.

The mv command does a lot of things, but it's as lazy as possible. If it
can get away with changing nothing but the file name which is stored in the
metadata record, that's what it will do.  mv -T ends up calling rename(2).



On Wed, Jul 16, 2014 at 4:59 AM, gregrwm <tclug1 at whitleymott.net> wrote:

> i want rename.  not mv (missing --no-copy).  anything handy?
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20140716/1be18f50/attachment.html>