bug-coreutils
[Top][All Lists]
Advanced

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

bug#30907: mv return value.


From: Jorgen Harmse
Subject: bug#30907: mv return value.
Date: Thu, 22 Mar 2018 17:02:59 +0000

The documentation specifies the usual exit convention, but doesn’t say what 
counts as success. For example, I would like
       mv -i a b || (diff a b && rm a)
to rename a if b does not exist and to remove a if they are identical, but it 
doesn’t work.

Regards,
Jorgen Harmse

Sam’s Club Technology
Phone 512.633.2226
address@hidden


This e-mail and any files transmitted with it are confidential and intended 
solely
for the individual or entity to whom they are addressed.  If you have received
this e-mail in error, destroy it immediately.  Wal-Mart Confidential.


reply via email to

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