79
13
Consider:
ls -al ../public-back
drwxrwxr-x 4 apache apache 4096 Apr 19 03:32 templates
ls -al ../public-back/templates
drwxrwxr-x 2 apache apache 4096 Apr 19 03:33 content
drwxrwxr-x 2 apache apache 20480 Apr 20 06:14 images
drwxrwxr-x 2 apache apache 4096 Apr 19 03:35 video
ls -al /public
drwxrwxr-x 4 apache apache 4096 Apr 20 09:49 templates
ls -al /public/templates
drwxrwxr-x 2 apache apache 4096 Apr 20 09:50 content
drwxrwxr-x 2 apache apache 4096 Apr 20 09:50 images
drwxrwxr-x 2 apache apache 4096 Apr 20 09:50 video
How do I move the contents of /public-back/templates
recursively with permissions into /public/templates
?
mv ../public-back/templates/* public/templates/ – None – 2011-04-20T10:28:23.297
mv -R ../public-back/templates/* public/templates/
I'd still vote to move the question. – None – 2011-04-20T10:33:05.1702mv: invalid option -- R @Vladislav Zorov – None – 2011-04-20T11:12:34.743
3i did cp -a ../public-back/templates/ public/ – None – 2011-04-20T11:20:08.727