A command line tool for moving all files under one directory to another, override conflict files in the destination directory (merge two directories)
Equivalent of rsync -ahHAXW --remove-source-files dir1/ dir2/
crew-mvdir
use rename()
syscall to move files (instead of copying-deleting), that's why it is faster than rsync
./crew-mvdir [-v] [-n] [src] [dst]
-v: enable verbose mode
-n: do not overwrite an existing file (no clobber)
cc ./crew-mvdir.c -O2 -o crew-mvdir
Copyright (C) 2013-2024 Chromebrew Authors
This project including all of its source files is released under the terms of GNU General Public License (version 3 or later).