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

Issue copying files to symlinked folder #22

Open
hktang opened this issue Jun 21, 2017 · 1 comment
Open

Issue copying files to symlinked folder #22

hktang opened this issue Jun 21, 2017 · 1 comment

Comments

@hktang
Copy link
Contributor

hktang commented Jun 21, 2017

Hi, I am quite new to Linux, and following your instructions to copy all files under the original public folder, it seems subdirectories are not copied. That is, only first-level files such as .htaccess, index.php, robots.txt are copied; generated css, javascript folders are not copied. Did I miss something?

$ cp -a public_bak/*.* public/

How can I correctly copy those subdirectories to a symlinked folder? Thanks.

@hktang
Copy link
Contributor Author

hktang commented Jun 21, 2017

I just changed the command to the following and it worked:

$ cp -a public_bak/* public/

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