Jump to content

rsync only one file name


FD_F

Recommended Posts

thanks grate idea

 

when i running

 

find /var/www/test/ -name test.php -exec rsync -av --dry-run {} /var/www/test2/ \;

 

i get only one test.php file

 

when i run only

find /var/www/test/ -name test.php

i get :

/var/www/test/deeptest/test.php

/var/www/test/test.php

 

so the find works any other ideas?

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.