<div dir="ltr"><div><div><div>The thing is, once you understand the basics of how most unix filesystems works, you realize that moving IS renaming. <br><br></div>So just create an alias for mv to whatever you want your rename command to be. <br>
<br></div>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. <br>
<br></div>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). <br>
<div><div><div><div><br></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 16, 2014 at 4:59 AM, gregrwm <span dir="ltr"><<a href="mailto:tclug1@whitleymott.net" target="_blank">tclug1@whitleymott.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>i want rename. not mv (missing --no-copy). anything handy?</p>
<br>_______________________________________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
<br></blockquote></div><br></div>