Tivoli Storage Manager FastBack for Workstations, Version 6.1.2

Wildcards in file specifications

You can use wildcards to specify the files to protect.

You can enter the complete path of a file that you want to protect. For example, C:\Documents and Settings\Administrator\My Documents\Soccer\2005AYSO\Parent Info U8B.doc. The complete path unambiguously matches a single file. But to specify all files this way requires many file paths. Use asterisks and blanks as wildcards to specify several files.

An asterisk matches any number of characters in a file path. If there are no asterisks, then Tivoli® Storage Manager FastBack for Workstations matches any file whose fully expanded path name has that exact pattern anywhere in the path or filename. The pattern is not case-sensitive.

If there are no asterisks in the pattern, then blank spaces before and after the pattern are interpreted as asterisks. Hence, \myDocs\ and *\myDocs\* yield the same matches. If there are asterisks in the pattern, then blank spaces before or after the pattern match no characters. Hence, \myDir\, *\myDir\, and \myDir\* could yield three different matches, as in the table of examples pictured.

As an example, assume a pattern fish. This pattern matches: C:\dir\fish.doc and C:\fish\anyfile.doc and c:\Dirfishfood\something.

If the pattern has slashes around it (\fish\), it matches any object with \fish\ somewhere in the path. This pattern matches C:\fish\anyfile.doc but not C:\dir\fish.doc and not c:\Dirfishfood\something

Table 1. File and folder pattern matches
This pattern ... … matches these folders and files on your computer:

\myDir\ or
\mYdiR\ or
*\myDir\* or
*\mydir\*

c:\myDir\
c:\myDir\Contacts\
c:\myDir\Contacts\contacts.txt
c:\Projects\myDir\
c:\Projects\myDir\myThings\
c:\Projects\myDir\myThings\things.doc
c:\Projects\myDir\myThings\myPhoto.jpg
d:\Notes\myDir\

*\myDir\

c:\myDir\
c:\Projects\myDir\
d:\Notes\myDir\

\myDir\*  
d:*\mydir\* d:\Notes\myDir\
\my best

c:\Books\My Best.doc
c:\Photos.jpg\My Best Photo\
c:\Photos.jpg\My Best Photo\Best.jpg
f:\Projects\My Best Project\
f:\Projects\My Best Project\Dream.xls

.jpg

c:\Photos.jpg\
c:\Photos.jpg\myHouse.bmp
c:\Photos.jpg\My Best Photo\Best.jpg
c:\Projects\myDir\myThings\myPhoto.jpg

*.jpg

c:\Photos.jpg\
c:\Photos.jpg\My Best Photo\Best.jpg
c:\Projects\myDir\myThings\myPhoto.jpg

E:\
E:\*

All files and folders on the E: drive.