include batch file script to download R output
This commit is contained in:
		
							parent
							
								
									9db2cf0b44
								
							
						
					
					
						commit
						153d682fce
					
				
							
								
								
									
										2
									
								
								plots.cmd
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								plots.cmd
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,2 @@
 | 
				
			|||||||
 | 
					pscp.exe -pw qqqx53@038 ptrowbridge@usmidlnx01:/home/ptrowbridge/pt_share/*.csv "C:\Users\PTrowbridge\Downloads"
 | 
				
			||||||
 | 
					pscp.exe -pw qqqx53@038 ptrowbridge@usmidlnx01:/home/ptrowbridge/pt_share/*.png "C:\Users\PTrowbridge\Downloads"
 | 
				
			||||||
@ -1,8 +1,8 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
getlist() {
 | 
					getlist() {
 | 
				
			||||||
    find . -iname "*.csv" | while read f
 | 
					    find . -iname "001*.csv" | while read f
 | 
				
			||||||
    do
 | 
					    do
 | 
				
			||||||
        printf $f
 | 
					        $PG -c "\copy import.targ_rev FROM $f WITH CSV HEADER DELIMITER ',';"
 | 
				
			||||||
    done
 | 
					    done
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user