[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to make mv -i return non zero status when uses choose n?
From: |
Peng Yu |
Subject: |
How to make mv -i return non zero status when uses choose n? |
Date: |
Sat, 7 Jan 2023 21:02:47 -0600 |
Hi,
When I use mv -i and choose n so that the destination will not be
overwritten, the return status is still zero. Is there a way to let mv
return nonzero status to reflect that n is chosen by the user? Thanks.
--
Regards,
Peng
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- How to make mv -i return non zero status when uses choose n?,
Peng Yu <=