Issue
I'm looking at bringing the content of one WP blog over to another as I will be using WPML to serve regional content instead of multiple sites. So not strictly a WP question, more command line.
This may seem an obvious or stupid question, but if I bring over the other 'uploads' folder as a zip and unzip to the wp-content folder, will the contents merge into the existing folders or overwrite what is already there.
If it's the latter, is there a switch I can append to ensure files are merged?
Thanks in advance, Tom
Solution
When unzip
finds a file that already exists in the destination, it will ask you if you want to overwrite it. You can then type y
to overwrite it, A
to overwrite all files, N
if you don't want to overwrite any of them etc.
Example:
$ unzip archive.zip
Archive: archive.zip
replace foo? [y]es, [n]o, [A]ll, [N]one, [r]ename:
Answered By - dogbane Answer Checked By - Candace Johnson (WPSolving Volunteer)