<div dir="ltr">mv will just do a rename if that succeeds, yes, but you might be surprised how much code mv has to massage various situations.  and if the rename fails mv blithely barrels into copying any volume of data.  but it looks like rename offers a more constrained alternative.</div>