Open hwchen opened 5 years ago
Hello,
I found xcp useful because it respects .gitignore. I'm using it to copy a repo without build artifacts.
.gitignore
After the initial copy, since the target directory exists it will then copy to a subdirectory.
I'd like to have a feature that treats the target dir as a file, like -T in cp. https://stackoverflow.com/questions/23698183/how-to-force-cp-to-overwrite-directory-instead-of-creating-another-one-inside
-T
cp
If this feature is acceptable, I'm happy to make a PR for it.
Hello,
I found xcp useful because it respects
.gitignore
. I'm using it to copy a repo without build artifacts.After the initial copy, since the target directory exists it will then copy to a subdirectory.
I'd like to have a feature that treats the target dir as a file, like
-T
incp
. https://stackoverflow.com/questions/23698183/how-to-force-cp-to-overwrite-directory-instead-of-creating-another-one-insideIf this feature is acceptable, I'm happy to make a PR for it.