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

How to configure this library to not to delete the files in output folder? #31

Open
aravinth-r-7867 opened this issue Nov 14, 2020 · 0 comments

Comments

@aravinth-r-7867
Copy link

const treeSync = require('tree-sync');
const dir1 = '/Users/test/Documents/Repositories/svg-bucket/tests/dummy/svg/svg-bucket/test2';
const dir2 = '/Users/test/Documents/Repositories/svg-bucket/tests/dummy/svg/svg-bucket/test1';
const tree = new treeSync(dir1, dir2);
tree.sync();

This is how I tried this library. I want to preserve the files in the dir2 folder. I just want to move the files from dir1 to dir2. Is there way to preserve files in dir2 or is there any other plugin to do this??
Thanks in advance.

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

1 participant