mvx

Crates.iomvx
lib.rsmvx
version0.2.5
created_at2025-05-27 22:52:41.408321+00
updated_at2025-11-03 19:11:25.610945+00
descriptionEnhanced file and directory move utility with progress bars and cross-device support
homepage
repositoryhttps://github.com/junzh0u/mvx
max_upload_size
id1692034
size70,235
JunZ (junzh0u)

documentation

https://docs.rs/mvx

README

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 mvx is demonstrated in this section, cpx works 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
mvx large_file.iso /media/backup/

# Move and merge a directory
mvx source_dir/ destination_dir/

# Move in quiet mode
mvx -q large_file.iso /media/backup/

MIT License

Commit count: 71

cargo fmt