mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-03 20:27:54 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			287 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			287 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
[[ x$1 == x ]] && echo "Copy to what hostname?" && exit 1
 | 
						|
[ ! -f quick-copy.sh ] && echo "What directory are you in? $CWD" && exit 2
 | 
						|
 | 
						|
rm -f /tmp/qq.txt
 | 
						|
find -iname "*pl" -o -iname "*pm" -o -iname "*sh" -o -iname "*py" > /tmp/qq.txt
 | 
						|
rsync -rv --files-from=/tmp/qq.txt . "$1"
 |