drush site synchronization with aliases I configured the site aliases for the development, and staging sites. I have the &lt;DRUPAL_HOME&gt;/sites/default/aliases.drushrc.php aliases file with this content:

$aliases['dev'] = array(
  'root' =&gt; '/home/drupaltest',
  'uri' =&gt; 'localhost',
  'path-aliases' =&gt; array('%dump' =&gt; '/home/drupaltest/dump.sql')
);

$aliases['stage'] = array(
  'root' =&gt; '/home/drupaltest',
  'uri' =&gt; 'naftalin',
);


$aliases['all-scratch'] = array(
  'site-list' =&gt; array('@dev', '@stage'),
);


drush @dev status outputs:


  hubidubi@couscous:/home/drupaltest$ drush @dev status
       Drupal version         :  6.25
       Site URI               :  localhost
       Database driver        :  mysqli
       Database hostname      :  localhost
       Database username      :  root
       Database name          :  drupaltest
       Database               :  Connected
       Drupal bootstrap       :  Successful
       Drupal user            :  Anonymous
       Default theme          :  garland
       Administration theme   :  garland
       PHP configuration      :  /etc/php5/cli/php.ini
       Drush version          :  4.4
       Drush configuration    :
       Drush alias files      :  /home/drupaltest/sites/default/aliases.drushrc.php 
       Drupal root            :  /home/drupaltest
       Site path              :  sites/default
       File directory path    :  sites/default/files


Then I tried to run drush rsync @dev @stage command to sync dev site to stage and I get: 


  Could not evaluate source path @dev.


I can't figure out the problem; I think the alias file is correct.

Do you have any idea?
The drush rsync command does not bootstrap your site, so it cannot find your alias files.  Move your alias files to a global location (e.g. $HOME/.drush).

Also, since @dev and @stage are multisites with the same document root, it does not make any sense to rsync from one to the other, because they share the same files.  You might want to drush rsync @stage:%files @dev:%files.