Search
 
 

Display results as :
 


Rechercher Advanced Search

Top posting users this month

GeoMap

Use rsync to synchronize certain type of files with --include and --exclude

View previous topic View next topic Go down

Use rsync to synchronize certain type of files with --include and --exclude

Post  halala on Sun Jun 28, 2015 10:39 am

For example you only want to sync the C header files, the
Code:

$ rsync -ave "ssh -l <yourname>" <yoursite>:<remotepath> ./  --include=*/ --include=*.h --exclude=*
avatar
halala

帖子数 : 99
金币(Coin) : 2098
注册日期 : 2012-08-17

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum