mvx/cpx - Enhanced File and Directory Move Utility
mvx/cpx is a command-line utility that extends the standard mv/cp command with progress bars and enhanced features.
For basic file operations, mvx/cpx behaves the same as the standard mv/cp command.
Key Features / Differences from mv/cp
Directory Handling
When moving/copying a directory to an existing directory, mvx/cpx merges the contents rather than replacing or nesting the directory. Files with the same name are overwritten, but unique files in the destination are preserved.
Path Creation
mvx/cpx automatically creates any necessary destination directories.
Progress Visualization
For cross-device file operations, mvx/cpx displays progress bars, which can be suppressed via -q flag.
Usage
[!NOTE] only
mvxis demonstrated in this section,cpxworks exactly the same.
mvx [OPTIONS] <SOURCE> <DESTINATION>
Options
-q, --quiet: Suppress progress bars and messages-h, --help: Print help information-V, --version: Print version information
Examples
# Move a file with progress bar
# Move and merge a directory
# Move in quiet mode