A Yazi file manager plugin that uses rsync for efficient file copy/move operations, especially useful for cross-disk operations.
- 🚀 Uses rsync for file copy/move operations, more efficient than conventional methods
- 💽 Supports cross-disk operations
- 📊 Shows real-time progress in Yazi's header area
- 📦 Supports batch operations
- 🔔 Displays notification upon completion
ya pkg add WayneKent/rsync-paste-
Clone the repository from GitHub:
git clone https://github.com/WayneKent/rsync-paste.yazi.git
-
Copy the plugin to Yazi's plugin directory:
cp -r rsync-paste.yazi ~/.config/yazi/plugins/ -
Ensure
rsyncis installed (most Linux systems have it by default)
- Select files/directories in Yazi (using spacebar)
- Use
yto copy orxto cut - Navigate to target directory
- Use
'to paste
Add one of these configurations to ~/.config/yazi/keymap.toml:
[mgr]
prepend_keymap = [
{ on = ["'"], run = "plugin rsync-paste", desc = "Paste yanked files with rsync" },
]or
[[mgr.prepend_keymap]]
on = "."
run = "plugin rsync-paste"
desc = "Paste yanked files with rsync"- Uses rsync's
-aparameter to preserve file attributes and show progress - For move operations, copies files first then deletes originals
- Progress information is displayed in Yazi's status bar
Q: Why use rsync instead of system copy commands?
A: rsync is more efficient for cross-disk operations and large file transfers, with better progress feedback.
Q: How to know when operation is complete?
A: System notification will appear upon completion, with final results in status bar.
This project is licensed under the MIT License.
- Thanks to Yazi project for the excellent file manager
- Thanks to rsync development team
