How do you guys deal with moving files from one site on the same Trellis server to another? I need to move images from one site under the main domain to a site under a subdomain on the same Digital Ocean Droplet setup with Trellis.
Do you use SCP or wp-cli and if so how? Does a command like
wp media import /srv/www/domain.com/current/web/app/uploads/*
from destination site work going through all folders and importing images to media on site from where the command is fired?
Or do you use something like scp -r
(not worked out the entire command yet and is more useful from server to server)
Or better yet cp it seems and:
cp /srv/www/domain.com/current/web/app/uploads/* /srv/www/subdomain/current/dest
and then import with the Add Server plugin for example?