laravel-deploy-on-shared-hosting
laravel-deploy-on-shared-hosting copied to clipboard
Issue copying files to symlinked folder
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.
I just changed the command to the following and it worked:
$ cp -a public_bak/* public/