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

Copy content of directory to target #2

Open
hediet opened this issue Feb 18, 2020 · 2 comments
Open

Copy content of directory to target #2

hediet opened this issue Feb 18, 2020 · 2 comments

Comments

@hediet
Copy link

hediet commented Feb 18, 2020

Right now, when calling sync-folders src target, the tool synchronizes the content from src to target/src. In my case I need to control the target directory name, but I cannot change the source directory name.
It would be great, if, with an additional flag, your tool could synchronize the content from src to target, so that a file src/index.js will end up in target/index.js (and not target/src/index.js).

Thanks ;) Btw. your tool is cool, I tried robocopy first, but it does not support a watch mode. Sadly, it's unusable for me due to this problem.

@hediet hediet changed the title Copy content of directory to target rather Copy content of directory to target Feb 19, 2020
@aamakerlsa
Copy link

@hediet - did you ever get any resolution or find a way to do what you were trying to do here? This is a really cool package, but that quirk is bothering me about it.

@hediet
Copy link
Author

hediet commented Mar 3, 2021

Nope. Luckily I don't need this tool anymore - it was to make symlinks in react native/expo work by just copying the content over symlinking it. I don't use expo anymore.

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

No branches or pull requests

2 participants