mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 02:38:03 +00:00 
			
		
		
		
	quick-copy: just rsyncs bash, perl and python scripts
This commit is contained in:
		
							
								
								
									
										8
									
								
								quick-copy.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										8
									
								
								quick-copy.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,8 @@ | |||||||
|  | #!/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" | ||||||
		Reference in New Issue
	
	Block a user
	 Jed Reynolds
					Jed Reynolds