Expand archive to existing directory structure

I am looking for the content of one WP blog to go to another, as I will use WPML for regional server content instead of multiple sites. So it's not strictly a WP question, more of a command line.

This may seem like an obvious or silly question, but if I transfer the other "uploads" folder to zip and unzip it into the wp-content folder, the content will merge into existing folders or overwrite what already exists.

If this is the last, is there a switch that I can add to ensure file merging?

Thanks in advance Tom

+4
source share
1 answer

unzip , , , . y, , A, , N, ..

:

$ unzip archive.zip
Archive:  archive.zip
replace foo? [y]es, [n]o, [A]ll, [N]one, [r]ename:
+4

Source: https://habr.com/ru/post/1538833/


All Articles