13 lines
		
	
	
	
		
			243 B
		
	
	
	
		
			Text
		
	
	
	
	
	
		
		
			
		
	
	
			13 lines
		
	
	
	
		
			243 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| 
								 | 
							
								#!/bin/sh
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								synctime=~/.mailsync
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								date > $synctime
							 | 
						||
| 
								 | 
							
								unison -batch \
							 | 
						||
| 
								 | 
							
								    -ignore 'Name .git' \
							 | 
						||
| 
								 | 
							
								    -ignore 'Name .notmuch' \
							 | 
						||
| 
								 | 
							
								    -ignore 'Name procmail.log' \
							 | 
						||
| 
								 | 
							
								    ~/Maildir ssh://nico-vm.schottelius.org/Maildir
							 | 
						||
| 
								 | 
							
								date >> $synctime
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								cat "$synctime"
							 |