Symantec 10024709 User Manual

Page of 221
174
Command-line switches
-CRC32 switch usage
Files not checked with CRC
The switch vexcept=filename specifies files that are not checked with CRC. This is 
normally used to exclude files that are always changed on start up. A sample 
exception file follows:
[ghost exclusion list]
\PERSONAL\PHONE
[partition:1]
\WINDOWS\COOKIES\*.*
\WINDOWS\HISTORY\*
\WINDOWS\RECENT\*
\WINDOWS\USER.DAT
\WINDOWS\TEMPOR~1\CACHE1\*
\WINDOWS\TEMPOR~1\CACHE2\*
\WINDOWS\TEMPOR~1\CACHE3\*
ghost.exe -crc32,action=create
Creates an ASCII CRC32 file from the 
primary hard drive. Note that the 
default disk is the primary drive. The 
default ASCII CRC32 file is Ghost.crc.
ghost.exe -crc32,action=create,src=
2,crcfile=myfile.txt
Creates an ASCII CRC32 file, 
Myfile.txt. This example uses disk 2 as 
the source drive and the output file.
ghost.exe -crc32,action=verify
Verifies the contents of the primary 
disk against a default ASCII CRC32 
file, Ghost.crc (in the current 
directory). The default disk is the 
primary drive. The default 
verification list file is Ghost.ls.
ghost.exe -crc32,action=verify,src=
1,crcfile=myfile.txt,vlist=myfile.out
Verifies the contents of the primary 
disk, 1, against the CRC32 file, 
Myfile.txt. This example Myfile.out as 
the verification list file.
ghost.exe -crc32,action=verify,src=
1,crcfile=myfile.txt,vlist=myfile.out,vexcept=my
file.exc
Verifies the contents of the primary 
disk against a CRC32 file. Same as 
above with the inclusion of the 
EXCEPTION argument that excludes 
compared files based upon its entries.
Table A-8
-CRC32 usage examples
Switch
Function