Skip to Content
gnux

-u, --update

Control which existing files are updated: all, none, or older (the default for -u).

An option of mvx.

Usage

mvx -u SOURCE... DIRECTORY
mvx --update[=string] SOURCE... DIRECTORY

Details

ShortLongValueDefaultMeaning
-u--updatestring (optional)control which existing files are updated: all, none, or older (the default for -u)

Examples

Replace the destination only when the source is newer

mvx -u staging/index.html public/index.html

Skip files that already exist at the destination, using --update

mvx --update=none -v incoming/*.csv data/

Help in the terminal

gnux help mvx --update

On this page