Symantec GHOST IMAGING FOUNDATION 7.1 - V1.0 Manual page 144

Table of Contents

Advertisement

144
Command-line switches
Command-line switches
-preserveifexists
-pwd and -pwd=x
-quiet
-rb
-recover
-script
Preserves the specified files if they exist. The task does not fail if the specified files do not
exist. To preserve files or directories other than the image file, the syntax is as follows:
-preserveifexists=filepath[=newpath] [,filepath[=newpath]...]
Each filepath can refer to an individual file or a directory. All files and subdirectories of a
specified directory are preserved. If a file does not exist, then the restore fails. After a Clone
step in a task, all preserved files are added back to the destination specified by the
-preservedest=n switch, renaming them to newpath where specified. You must use the
-preserveifexists switch with -preservedest.
Specifies that password protection be used when creating an image file.
x indicates the password for the image file. If no password is given in the switch, Symantec
Ghost prompts for one. You can enter a maximum of 10 alphanumeric characters.
The quiet mode switch disables status updates and user intervention.
Restarts after finishing a restore or copy. After completing a restore or copy operation, the
target computer must be restarted so that the operating system can restore the new
disk/partition information. Normally, Symantec Ghost prompts the user to restart or exit.
The -rb switch tells Symantec Ghost to restart automatically after it completes the restore
or copy. This is useful when automating Symantec Ghost in a batch command file.
For more information, see the -fx switch.
Sets the default to recover preserved files if a previous restore has failed and the File
Preservation Metadata File still exists. If this switch is not used, the default is set to abort.
Allows you to specify a series of commands (one per line) that Symantec Ghost will execute
in sequential order.
For example:
ghost -script=script.txt
Following is an example of script.txt:
-clone,mode=create,src=2,dst=1:1\drv2.gho
-chkimg,1:1\drv2.gho
-clone,mode=create,src=2,dst=c:\part2.gho
-chkimg,c:\part2.gho
In this example 1:1 is equivalent to c:\.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the GHOST IMAGING FOUNDATION 7.1 - V1.0 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Ghost imaging foundation 7.1

Table of Contents