laravel-deploy-on-shared-hosting icon indicating copy to clipboard operation
laravel-deploy-on-shared-hosting copied to clipboard

Issue copying files to symlinked folder

Open hktang opened this issue 7 years ago • 1 comments

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 avatar Jun 21 '17 00:06 hktang

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

$ cp -a public_bak/* public/

hktang avatar Jun 21 '17 00:06 hktang