I am consolidating two websites (which are on the same server) into one. I copied the images from one website's directory to the other using rsync.
rsync -av /srv/www/site1/wp-content/uploads/ /srv/www/site2/wp-content/uploads/
The images appear in the target directory and file permissions and ownerships are fine.
But the images are not appearing in the Media Library and there is no way to link to these images as Featured Images in Jigoshop product items.
Why are these migrated images not appearing in the Media Library? Is there a way to force WordPress to search the library for new images?