Sync your Drupal Local and Live site files
code
Bitbucket (git)
sites/default/files
$
cd
YOUR_DRUPAL_ROOT_DIR
/sites/default/files/
$
rsync
-avr \
--exclude=webform/* \
--exclude=advagg_js/* \
--exclude=advagg_css/* \
--exclude=js/* \
--exclude=css/* \
--exclude=tmp/* \
--exclude=tickets/* \
--exclude=videos/* \
--exclude=xmlsitemap/* \
yourhost:
/var/www/yoursite/sites/default/files/
.
Sync your database
The Deploy module is designed to allow developers to easily stage Drupal content from one site to another. Deploy automatically manages dependencies between objects (like node references).
Deploy Module Demo