Skip to content

Copy the symlink content - #126

Merged
DeviaVir merged 1 commit into
motdotla:masterfrom
rustico:rsync-l
Jul 12, 2016
Merged

Copy the symlink content#126
DeviaVir merged 1 commit into
motdotla:masterfrom
rustico:rsync-l

Conversation

@rustico

@rustico rustico commented Jul 10, 2016

Copy link
Copy Markdown
Contributor

Hi,

Is is possible to add the -L option when doing the rsync?

I have added and everything is working. I was in need to use added because I am having the following structure in a project:

/lambda-function-A
/lambda-function-B
/lambda-function-C
/common-library

being each lambda-function a js module and each having a symlink to the common-library.

I tried different solutions like using npm-link or add to the package.json the file:// option but they don't work because they are one directory above.

The solution I found that it works is adding a symlink and copying it contents when executing rsync.

Thanks!

@DeviaVir

Copy link
Copy Markdown
Collaborator

Sure thing!

@DeviaVir
DeviaVir merged commit 1e618c9 into motdotla:master Jul 12, 2016
@DeviaVir DeviaVir mentioned this pull request Jul 16, 2016
7 tasks
@DeviaVir DeviaVir mentioned this pull request Aug 16, 2016
7 tasks
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 this pull request may close these issues.

2 participants