Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: add new option for treating target dir as file #5

Open
hwchen opened this issue Aug 14, 2019 · 0 comments
Open

Feature request: add new option for treating target dir as file #5

hwchen opened this issue Aug 14, 2019 · 0 comments

Comments

@hwchen
Copy link
Contributor

hwchen commented Aug 14, 2019

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 in cp. https://stackoverflow.com/questions/23698183/how-to-force-cp-to-overwrite-directory-instead-of-creating-another-one-inside

If this feature is acceptable, I'm happy to make a PR for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant