mvΒΆ

Purpose:

Move or rename a file.

Usage:

bzr mv OLDNAME NEWNAME

bzr mv SOURCE... DESTINATION

Options:
--dry-run

Avoid making changes when guessing renames.

-v, --verbose

Display more information.

--auto

Automatically guess renames.

--after

Move only the bzr identifier of the file, because the file has already been moved.

-q, --quiet

Only display errors and warnings.

--usage

Show usage message and options.

-h, --help

Show help message.

Description:

If the last argument is a versioned directory, all the other names are moved into it. Otherwise, there must be exactly two arguments and the file is changed to a new name.

If OLDNAME does not exist on the filesystem but is versioned and NEWNAME does exist on the filesystem but is not versioned, mv assumes that the file has been manually moved and only updates its internal inventory to reflect that change. The same is valid when moving many SOURCE files to a DESTINATION.

Files cannot be moved between branches.

Aliases:

move, rename

Previous topic

mkdir

Next topic

nick

This Page