How Do You Force Move a File in Unix?
Contents

How do I force a file move in Linux?

To move files, use the mv command (man mv), which is similar to the cp command, except that with mv the file is physically moved from one place to another, instead of being duplicated, as with cp.
…
Common options available with mv include:

  1. -i — interactive. …
  2. -f — force. …
  3. -v — verbose.

How do you force move a file?

You can force copy, move and shortcut operations with the help of shortcuts: Hold down Shift to move files regardless of destination. You can use it to move files to another drive. Hold down Ctrl to copy a file regardless of destination.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest