tibberous Posted December 23, 2010 Share Posted December 23, 2010 I want to copy everything in templates/blue to the folder code/ However: shell_exec("cp -r 'templates/blue' 'code'"); Creates a folder called blue inside code. I tried cp -r 'templates/blue/*' 'code', but that didn't do anything. Any ideas? Quote Link to comment Share on other sites More sharing options...
johnny86 Posted December 23, 2010 Share Posted December 23, 2010 Try: shell_exec("cp templates/blue/*.* /code"); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.