+ nerest examples script
This commit is contained in:
		
							
								
								
									
										10
									
								
								wp/quick/nerest-examples.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								wp/quick/nerest-examples.sh
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,10 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
 | 
			
		||||
 | 
			
		||||
cd $SCRIPT_DIR
 | 
			
		||||
 | 
			
		||||
find ./ -name "*.sh" -not -path "./nerest*" -exec sh -c 'F={}; cp -u $F ${F}.example' \;
 | 
			
		||||
 | 
			
		||||
find ./ -name "*.sh.example" -exec sh -c 'F={}; chmod -x ${F}' \;
 | 
			
		||||
 | 
			
		||||
find ./ -name "*.sh.example" -exec sh -c 'F={}; git add ${F}' \;
 | 
			
		||||
		Reference in New Issue
	
	Block a user