rmove — friendly rsync wrapper#
Copy / move / mirror folders (or single files) without hand-rolling rsync
flags every time. Rose Pine progress ripple on real waits, rsync's own
-v --progress passed through untouched otherwise.
Modes#
rmove copy <src> <dest>— copy, source stays untouched.rmove move <src> <dest>— copy, then remove source.rmove mirror <src> <dest>— make dest byte-identical to source. Deletes anything in dest not in source.<src>may be a file or a folder.mirrorrequires a folder.
Flags#
-n, --dry-run— show what would happen, change nothing.-q, --quiet— no per-file progress (ripple covers the wait instead).-k, --keep-perms— preserve owner/group/perms. Off by default —-pog/fchownatbreaks on Cryptomator, exFAT, NTFS, SMB.-V, --vault— target is Cryptomator/FUSE/exFAT/NTFS: skip timestamps + temp-rename dance that errors there. Auto-enabled whenever dest is under/Volumes/*.-a, --all— include normally-excluded dev junk:.venvnode_modules__pycache__.git.mypy_cache.pytest_cache.ruff_cache.gradle.tox.cachetarget/debugtarget/release.-x, --extra ARG— pass one raw rsync arg through, repeatable.-h, --help— full help text.
Always excluded (no flag needed)#
.DS_Store ._* .Spotlight-V100 .Trashes .fseventsd .TemporaryItems
.DocumentRevisions-V100 .apdisk .com.apple.timemachine.donotpresent
Thumbs.db desktop.ini *.icloud — Finder/Spotlight/Windows junk and
undownloaded iCloud stubs.
Placement rule#
- Folder source lands inside dest as
dest/<srcname>, unless dest already ends in that name (rmove copy A B→B/A). - File source drops into dest as
dest/<filename>; if dest itself looks like a target filename (has an extension, parent exists), it's treated as a rename-on-copy target instead.
Safety#
move/mirrorask y/N before doing anything destructive (skipped on-n).mirrorrefuses catastrophic targets:/,~,/Users, Desktop, Documents, Downloads,/Volumes,/System*,/Library*.- Refuses when source == dest, or dest is inside source (infinite recurse).
- Transfers are resumable — re-run the same command to continue after an interrupt or a disconnected/full destination (rsync exit 23 / 11 / 12).
moveonly deletes files it actually copied (--remove-source-files), then prunes now-empty subdirs; the root source folder itself is left behind.
Examples#
rmove copy ~/Desktop/mainVault_Organized /Volumes/bmdrbeKUVgvV
rmove move -n ~/Downloads/isos /Volumes/T7 # preview a move first
rmove mirror ~/notes /Volumes/backup/notes # exact mirror
rmove copy -V ~/project /Volumes/EncryptedVault # force vault mode explicitly
rmove copy -a ~/project /Volumes/T7 # include node_modules etc.
rmove move -q ~/big-folder /Volumes/T7 # quiet, ripple-covered
-Vauto-triggers for any/Volumes/*destination — usually don't need it by hand. Full flags:rmove -horrmove --help.