Closed aminya closed 4 years ago
Are there particular features you need which cp
doesn't offer?
The fact that it is faster makes it better than cp
https://dev.to/wolfiton/difference-between-cp-and-rsync-dk3
I also wished there was a -p
flag for cp
that could do this in one take:
mkdir -p dest && cp -r src dest
rsync does it (although not always):
rsync -a src /foo/bar/
Not sure if we can reach the same level of performance. -p
option is tracked in https://github.com/shelljs/shelljs/issues/771. Let's consider this a duplicate of that issue for now.
Adding rsync would be nice