coreutils
[Top][All Lists]
Advanced

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

mv -n with error code om failure


From: Edwin Klein Mentink
Subject: mv -n with error code om failure
Date: Tue, 21 May 2013 19:56:03 +0000

I'm wanting to script file rename actions. But i never want to overwrite already existing files.

There is the "-n" flag, but this returns 0 if the destination file does exist.
If this is not a bug i like a "-N" flag which return a number on a failed rename action.

Thanks in advance,

Edwin 

reply via email to

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