Skip to main content

Thread: How to move a directory to another and overwrite the content that matches?


hello,

have folder called functions , move wordpress folder, contain folder same name.

make sure overwrite files , subfolders.


tried this:

code:
sudo mv functions/ /var/www/mysite/wp-content/themes/optimize/
but says:

code:
mv: cannot move `functions/' `/var/www/mysite/wp-content/themes/optimize/functions': directory not empty
any idea?
many thanks,

it seem sin linux there different command achieve simple task:


code:
sudo rsync -azvv functions/ /var/www/mysite/wp-content/themes/optimize/functions/
it seems working. guys agree on or have missed out file?


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] How to move a directory to another and overwrite the content that matches?


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account