Rsync through SSH

Rsync through SSH

 

Example

 

 

rsync  -r -l  -t  -e ssh  --include="*.cpp"  --include="*.c"  --include="*.h"  --include='*/' --exclude='*' --progress     [email protected]:/home/lake/live-git/      live-local  

 

 

rsync  -r -l  -t  -e ssh  --include='*/'   --exclude='*.obj' --exclude='*.o'   --exclude='*.exe'   --progress     [email protected]:/home/lake/live-git/      live-local  


 

你可能感兴趣的:(Linux,Shell)