12.07.2015 Views

Installation and User's Guide

Installation and User's Guide

Installation and User's Guide

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

vWildcard charactersvvWhen entering the sourcefilespec, if the directory name ends with \, then \* isimplied.When entering a destinationfilespec, if the name ends with /, then it isconsidered a directory, otherwise it is considered a file.The following example illustrates these two rules. Even though mydir <strong>and</strong>yourdir are directories, the comm<strong>and</strong> will fail because /* is implied after mydir,<strong>and</strong> yourdir is considered a file:restore c:\home\mydir\ c:\away\yourdirThe following example illustrates the second rule. Even though mydir <strong>and</strong>yourdir are directories, the comm<strong>and</strong> will fail because mydir <strong>and</strong> yourdir areconsidered files:restore c:\home\mydir c:\away\yourdirIf a file specification does not begin with a file space name (an opening directorydelimiter), the file specification is assumed to be a subdirectory of the currentworking directory. The client appends the destination file specification to theworking directory to build the complete path.For example, if the current working directory is c:\home\me <strong>and</strong> the comm<strong>and</strong> isdsmc res c:\fs\dir1\ mydir\, the complete restore path is this:c:\home\me\mydirWhen the file specification contains spaces, it must be enclosed in quotationmarks. For example:dsmc sel "x:\dir one\file1"However, when the filespec is a directory with a trailing backslash, an extrabackslash (\) must be added. If an extra backslash is not added, the filespec willnot be processed correctly, <strong>and</strong> the operation might cause unexpected results.The following example is incorrect:dsmc sel "x:\dir one\"The following example is correct:dsmc sel "x:\dir one\\"Here is an example of restoring the contents of one directory to another, whenboth directories contain spaces:dsmc rest "x:\dir one\\" "x:\dir two\\"v Microsoft Dfs volumes are accessed using the st<strong>and</strong>ard UNC names. Thefollowing are examples of valid syntax to access MS Dfs volumes:\\Server_Name\Dfs_Root_Name\path\\Fault_Tolerant_Name\Dfs_Root_Name\pathRelated reference“Filelist” on page 379Use wildcard characters when you want to specify multiple files with similarnames in one comm<strong>and</strong>. Without wildcard characters, you must repeat thecomm<strong>and</strong> for each file.In a comm<strong>and</strong>, you can use wildcard characters in the file name or file extensiononly. You cannot use them to specify destination files, file systems, or server names.You cannot specify a directory whose name contains an asterisk (*) or a questionmark (?).Valid wildcard characters that you can use include:Chapter 13. Using comm<strong>and</strong>s 527

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!