Description

La commande mv permet de déplacer (ou de renommer) des fichiers.

Exemples

(output de la commande tldr mv)

  • mv {{source}} {{target}} : Move files in arbitrary locations
  • mv -f {{source}} {{target}} : Do not prompt for confirmation before overwriting existing files
  • mv -i {{source}} {{target}} : Prompt for confirmation before overwriting existing files, regardless of file permissions
  • mv -n {{source}} {{target}} : Do not overwrite existing files at the target
  • mv -v {{source}} {{target}} : Move files in verbose mode, showing files after they are moved

Informations complémentaires

  • man mv