Table 6-5
OmniFS recovery commands (continued)
Description
Command line
Deletes specified file.
For example, omnifs delete pf:\1.2:\ghost:
disk_0\partition_1\recovery\extra.txt
Deletes the extra.txt file in the directory recovery listed
in the File Preservation Metadata File that is in the Ghost
directory on the second partition on the first disk.
omnifs delete pf:\source
destination
Deletes specified directory.
For example, omnifs deltree pf:\1.2:\ghost: \recovery
Deletes the recovery directory and all files within the
directory.
omnifs deltree pf:\source
destination
Using a script file
The script file format that is recognized by the utility uses the following rules:
■
Each line in the script file begins with the operation and is followed by all of
the required arguments for the nominated operation.
■
When specifying operation arguments with long file names, use quotation
marks (as you would on the command line).
■
Empty lines in the script file will be ignored.
An example of the script file is as follows:
copy a:\temp\user.dat 2:1\user\profile.dat
copy a:\userdir 2:1\user\data
delete 2:1\user\data\copy.bat
rename 2:1\user\data\catalog.cpy catalog.dat
The user can execute the set of commands provided in the script file using the
following command:
omnifs script scriptfs.txt
Each command in the script file is echoed to the screen immediately before
execution.
89
Manipulating files and directories using OmniFS
Using a script file
Summary of Contents for GHOST IMAGING FOUNDATION 7.1
Page 1: ...Symantec Ghost Imaging Foundation 7 1...
Page 3: ...Symantec Corporation 20330 Stevens Creek Blvd Cupertino CA 95014 http www symantec com...
Page 78: ...Managing partitions using GDisk Support for large hard disks 78...
Page 100: ...Editing registry keys and values using GhRegEdit Using GhRegEdit 100...
Page 116: ...Using GhostCasting to create and restore images Running Ghost exe on a client computer 116...
Page 122: ...GhostCasting from the command line GhostCast Server command line options 122...
Page 130: ...GDisk disk wipe specifications Determining disk size 130...
Page 166: ...Ghost for Linux Symantec Ghost utility support 166...
Page 170: ...Configuring firewalls Symantec Ghost port configuration 170...
Page 180: ...Troubleshooting Problems running Symantec Ghost 180...