Copying new images from production WordPress site to stage

I find myself copying production databases over stage databases often. In WordPress the uploads directory needs to be copied as well, but I don’t want to copy old stuff over.

From production /wp-content/
cp -Rup uploads/* /websites/

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.