[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Portability of "mv -f"

From: Pavel Roskin
Subject: Portability of "mv -f"
Date: Thu, 21 Sep 2000 06:50:43 -0400 (EDT)


How portable is "mv -f" used in If it is, I believe we
should switch to using it everywhere to avoid any unwanted interactivity.
Otherwise, it should be replaced with "rm -f" and "cp".

Related question - how portable is "mv" across mount points, i.e. between
$TMPDIR and the current directory? Will "mv -f" help?

Perhaps I'm too paranoid, but I just want consistency. I often avoided "mv
-f" in my makefiles because Autoconf didn't use it. Now it does, but only
in one place.

Pavel Roskin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]