| Author | 
		  Message
		 | 
		
		  | cwazpitt3 | 
		  
		    
			  
				 Posted: Tue Apr 09, 2013 10:45 am    Post subject: Excluding files using pattern | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 31 Aug 2011 Posts: 61
  
  | 
		  
		    
			  
				| For File Nodes, specifically FileInput, is there any way to use a regex or something in the pattern to exclude files that start with a character?  Like lets say I wanted to pickup all files except ones that start with an underscore (_).  Is there a way to do this with the pattern matching field? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | lancelotlinc | 
		  
		    
			  
				 Posted: Tue Apr 09, 2013 10:50 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | cwazpitt3 | 
		  
		    
			  
				 Posted: Tue Apr 09, 2013 11:20 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 31 Aug 2011 Posts: 61
  
  | 
		  
		    
			  
				| That's what I thought.  My problem is that if I pull * files, it seems like sometimes it grabs a file before I want it to.  I know I can build a file elsewhere and then push it over, but are there any other patterns I can follow?  I was hoping I could build the file with an underscore and then remove it, but that is obviously not possible. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | lancelotlinc | 
		  
		    
			  
				 Posted: Tue Apr 09, 2013 11:32 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA 
  | 
		  
		    
			  
				Yes, use a specific letter in the first character for the match pattern, 'F*.ZIP', then prepend your temp files with any other character '_' underscore, then rename the file to something that starts with 'F' when your ready for broker to read it. _________________ http://leanpub.com/IIB_Tips_and_Tricks
 
Save $20: Coupon Code: MQSERIES_READER | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | rekarm01 | 
		  
		    
			  
				 Posted: Tue Apr 09, 2013 1:15 pm    Post subject: Re: Excluding files using pattern | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 1415
  
  | 
		  
		    
			  
				
   
	| cwazpitt3 wrote: | 
   
  
	| For File Nodes, specifically FileInput, is there any way to use a regex or something in the pattern to exclude files that start with a character? | 
   
 
 
The WMBv8 FileInput node provides a "File exclusion pattern" property, for exactly that purpose: to specify a pattern for file names to exclude from processing. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | cwazpitt3 | 
		  
		    
			  
				 Posted: Tue Apr 09, 2013 1:18 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 31 Aug 2011 Posts: 61
  
  | 
		  
		    
			  
				Good to hear that the issue has been addressed. Bummer that we are nowhere near being on mb8    | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |