FSU_MV(1)

NAME
fsu_mv - move files from a file system image through rump

SYNOPSIS
fsu_mv [-fiv] fstype fsdevice source target
fsu_mv [-fiv] fstype fsdevice source ... directory

DESCRIPTION
In its first form, the fsu_mv utility renames the file named by the source operand to the destination path named by the target operand. This form is assumed when the last operand does not name an already existing directory.

In its second form, fsu_mv moves each file named by a source operand to a destination file in the existing directory named by the directory operand. The destination path for each operand is the pathname produced by the concatenation of the last operand, a slash, and the final pathname component of the named file.

source and target are absolute path in the fstype file system image contained in fsdevice.

The following options are available:

-f  Do not prompt for confirmation before overwriting the destination path.

-i  Causes fsu_mv to write a prompt to standard error before moving a file that would overwrite an existing file. If the response from the standard input begins with the character ``y'', the move is attempted.

-v  Cause fsu_mv to be verbose, showing files as they are processed.

The last of any -f or -i options is the one which affects fsu_mv's behavior.

It is an error for any of the source operands to specify a nonexistent file or directory.

It is an error for the source operand to specify a directory if the target exists and is not a directory.