sync x200 with x201 and vice versa
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								ce7bccffee
							
						
					
				
			
			
				commit
				
					
						93d656e86e
					
				
			
		
					 1 changed files with 13 additions and 0 deletions
				
			
		
							
								
								
									
										13
									
								
								x20x-sync
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										13
									
								
								x20x-sync
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,13 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
case $(hostname) in
 | 
			
		||||
   kr)
 | 
			
		||||
      other="ikn.ethz.ch"
 | 
			
		||||
   ;;
 | 
			
		||||
 | 
			
		||||
   ikn)
 | 
			
		||||
      other="kr.ethz.ch"
 | 
			
		||||
   ;;
 | 
			
		||||
esac
 | 
			
		||||
 | 
			
		||||
rsync -av --delete --exclude .electricsheep ~/ $other:
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue