Entering Multiple File Patterns

Previous page  Return to Introduction  Next page

FileBoss for Windows
File Manipulation to the Max
Click for more on FileBoss  

 

Many FileBoss routines allow you enter one or more file patterns that will control which files selected, copied or processed depending on the routine.

 

 

Entering File Patterns

Many FileBoss dialogs allow you enter a series of file patterns that will be included (or excluded) for whatever operation you are performing. *.doc or Seattle*.jpg.

Leaving a field empty is the same as specifying a single asterisk (*) or the traditional (*.*) - all three of which mean to include all files.

Multiple File Patterns

You can list a series of file names an file patterns up to over 32,000 characters long. By default you can separate the patterns with a semi-colon, comma or the bar character ( ; , | ). This can be set in the Advanced

Wildcards in File Patterns

The common wildcard characters (*) and (?) can be used when specifying groups of file to be included.

The entry *.tmp | *.bak | ~* will find all files with the extension tmp and bak as well as all files beginning with the tilde character (~).

Excluding Files and Groups of Files

Specific files and groups of files can be excluded from the search by preceding their names or patterns with a minus sign, (-).  If the name actually begins with a minus sign, simply put another in front of it, e.g. --notations.txt.

To exclude temporary and backup files you might use -*.tmp | -*.bak | -~*.

Note that there is no *.* or just * in the beginning. Remember that if there is no include specification then *.* (all) is assumed.

For example the these two patterns are equivalent: -*.zip and *.* | -*.zip (include all files except those with the zip extension.

Including and Excluding at the same time

Using *.jpg | *.gif | *.bmp | -~* would include all jpg, gif and bmp files except the filenames that begin with the tilde character (~).

Options

To chane whether or not the semi-colon and comma can be used to separate multiple patterns use the Options | Program Options... command from the main menu and select the Advanced 2 panel.

 

Ref: HMISC_ENTERING_MULTIPLE_FILE_PATTS

Have a question about FileBoss or anything else?

If this page didn't have what you are looking for or you want to know more just ask us. Please!

 

Your Email Address:

Your Question: