$ mv -i old new
$ mv -v a b
| -f | force — overwrite the destination without prompting |
| -i | prompt before overwriting |
| -n | never overwrite an existing file |
| -v | verbose — print each file as it is moved |
Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.