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

handling symlink with '-L' option for copying #164

Closed
wants to merge 3 commits into from

Conversation

sparkleholic
Copy link

Related Issue & Code changes

shelljs.cp('-r', src, dst);  // copy symbolic links as it is.
shelljs.cp('-rL', src, dst); // copy real files of symbolic link

@arturadib
Copy link
Collaborator

looking good! can you please add some tests for the edge cases this is supposed to cover?

@nfischer
Copy link
Member

@sparkleholic would you be able to add tests? Sorry about the delay!

@ariporad ariporad added fix Bug/defect, or a fix for such a problem help wanted blocked labels Jan 31, 2016
@ariporad
Copy link
Contributor

@sparkleholic: Any chance you'd be able to add some tests? Thanks!

@nfischer
Copy link
Member

@ariporad this might be another PR we should take over, unless @sparkleholic responds soon.

@ariporad
Copy link
Contributor

@nfischer: Works for me.

@nfischer
Copy link
Member

@sparkleholic Thanks for the PR! I'm afraid I'll have to close this since we opted with #232 for cp -L.

@nfischer nfischer closed this Mar 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked fix Bug/defect, or a fix for such a problem help wanted takeover
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants