mv: fix -i example and add -n example (#2482)

italian
Matthew Peveler 2018-10-23 18:18:41 -04:00 committed by Muhammad Falak R Wani
parent 2d5b94c00a
commit 26c0f8eefd
1 changed files with 6 additions and 2 deletions

View File

@ -10,9 +10,13 @@
`mv -f {{source}} {{target}}`
- Do not prompt for confirmation before overwriting existing files but write to standard error before overriding:
- Prompt for confirmation before overwriting existing files, regardless of file permissions:
`mv -fi {{source}} {{target}}`
`mv -i {{source}} {{target}}`
- Do not overwrite existing files at the target:
`mv -n {{source}} {{target}}`
- Move files in verbose mode, showing files after they are moved: