From 4f18ee062e05ff9a3ac69eba084951cd3241505e Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Sat, 17 Aug 2024 00:15:04 +0000 Subject: [PATCH] Update cheatsheets --- tldr/mv | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tldr/mv b/tldr/mv index d455255c..2c90520d 100644 --- a/tldr/mv +++ b/tldr/mv @@ -20,21 +20,21 @@ source: https://github.com/tldr-pages/tldr.git `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):