8 lines
		
	
	
		
			189 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			189 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
. $HOME/.bin/_config
 | 
						|
 | 
						|
[ -z $1 ] && printf "Usage: rmblog <file.ghp>\n" && return
 | 
						|
printf "Delete Entry:\n"
 | 
						|
ssh $USER@$DOMAIN "rm $LOCAL_PATH/posts/$1" && printf "rm $1: done\n\n"
 | 
						|
 |