tarka / xcp

An extended `cp`
GNU General Public License v3.0
747 stars 24 forks source link

Question: Does it fallback to /bin/cp when a flag is not supported? In other words, can I alias cp to xcp? #22

Closed KSXGitHub closed 2 years ago

KSXGitHub commented 2 years ago

(I would have put this question on the Discussion tab if it was enabled)

tarka commented 2 years ago

Hi @KSXGitHub,

No, it doesn't fall-back. I never really intended xcp to be a 1-for-1 replacement for cp, but as a sandbox for experimenting with UI and performance improvements.

It's also worth noting that there might be some problematic corner cases that xcp doesn't yet handle due to corresponding issues in the kernel with copy_file_range(); LWN has details: https://lwn.net/Articles/846403/ I have a outstanding task to implement testing of these, but the real world has been intruding recently.

Cheers, Steve