Linux mv examples

Last updated:

  • move file1 and file2 to directory /tmp/foo/bar and overwrite if there's already files with either of those names in there:

    mv file1 file2 --target-directory=/tmp/foo/bar --force
    

Dialogue & Discussion