From 026a1eaa8f5ed972cba7650dd05a838c42a8c0d0 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Fri, 16 Aug 2024 20:41:26 +0300 Subject: [PATCH] mv: update options to longform (#13445) Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: spageektti --- pages/common/mv.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pages/common/mv.md b/pages/common/mv.md index 90d7f0e12..1064ace86 100644 --- a/pages/common/mv.md +++ b/pages/common/mv.md @@ -15,21 +15,21 @@ `mv {{path/to/source1 path/to/source2 ...}} {{path/to/existing_directory}}` -- Do not prompt for confirmation before overwriting existing files: +- Do not prompt ([f]) for confirmation before overwriting existing files: -`mv -f {{path/to/source}} {{path/to/target}}` +`mv --force {{path/to/source}} {{path/to/target}}` -- Prompt for confirmation before overwriting existing files, regardless of file permissions: +- Prompt for confirmation [i]nteractively before overwriting existing files, regardless of file permissions: -`mv -i {{path/to/source}} {{path/to/target}}` +`mv --interactive {{path/to/source}} {{path/to/target}}` -- Do not overwrite existing files at the target: +- Do not overwrite ([n]) existing files at the target: -`mv -n {{path/to/source}} {{path/to/target}}` +`mv --no-clobber {{path/to/source}} {{path/to/target}}` -- Move files in verbose mode, showing files after they are moved: +- Move files in [v]erbose mode, showing files after they are moved: -`mv -v {{path/to/source}} {{path/to/target}}` +`mv --verbose {{path/to/source}} {{path/to/target}}` - Specify target directory (convenient in situations when the target directory has to be the first argument):