We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In linux, new_dir and existing_dir are now copies (new_dir didn't exist before):
new_dir
existing_dir
$ mkdir existing_dir $ touch existing_dir/foo $ cp -rf existing_dir new_dir
With shelljs, new_dir/existing_dir and existing_dir are copies. I would expect the linux behavior.
new_dir/existing_dir
cp('-rf', 'existing_dir', 'new_dir')
The text was updated successfully, but these errors were encountered:
This provides the behavior I expect above (added the trailing slash), but I still think the above scenario represents a valid bug.
cp('-rf', 'existing_dir/', 'new_dir')
Sorry, something went wrong.
Agreed and confirmed.
This should be fixed by #271. Would anyone here be able to confirm that this PR fixes it? As far as I can tell, it seems to be good.
nfischer
No branches or pull requests
In linux,
new_dir
andexisting_dir
are now copies (new_dir
didn't exist before):With shelljs,
new_dir/existing_dir
andexisting_dir
are copies. I would expect the linux behavior.The text was updated successfully, but these errors were encountered: