F~u~c~k i~t!
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
 
 

Display results as :
 


Rechercher Advanced Search

Top posting users this month
No user

GeoMap

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

Go down

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

Post  halala 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=*
halala
halala

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

Back to top Go down

Back to top

- Similar topics

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