mv (target)

Move files (POSIX, toybox)

Syntax:

mv [-FfinTvx] [-t target] source... [dest]

Runs on:

QNX OS

Options:

-F, --remove-destination
Delete any existing destination file first.
-f
Force copy by deleting the destination file.
-i
Run interactively; write a prompt to standard output before overwriting existing dest file.
-n
No clobber; don't overwrite dest.
-T
Always treat dest as a file, with a max of 2 arguments.
-t target
Move files to target directory (no dest).
-v
Be verbose.
-x, --swap
Atomically exchange the specified source and destination directories.
dest
The pathname of the directory that mv moves files to.
source
The pathname of the directory that mv moves files from.

Description:

The mv utility moves each source file to the destination specified by the target file or target directory.

This utility is provided as part of the toybox package. For information on how to enable it, see toybox.

Contributing author:

Rob Landley and the toybox project (see https://landley.net/toybox/).

Page updated: