我在/ var / www / html
中有一个名为ccwp的文件夹文件夹目的地是
/var/www/html/ccwp/<any and all files and folders>
如何将其更改为
/var/www/html/<any and all files and folders>
答案 0 :(得分:1)
如果要复制所有内容(并保留原件)
cp -r /var/www/html/ccwp/* /var/www/html/
如果您想移动内容
mv /var/www/html/ccwp/* /var/www/html/
编辑:要获取副本中的所有隐藏文件,请尝试rsync
rsync -rtv /var/www/html/ccwp/ /var/www/html/