Changeset 1579
- Timestamp:
- 01/18/10 10:48:39 (3 years ago)
- File:
-
- 1 edited
-
branches/eraser6/CodeReview/Eraser/Program.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/CodeReview/Eraser/Program.cs
r1566 r1579 178 178 Console.WriteLine(@"usage: Eraser <action> <arguments> 179 179 where action is 180 help Show this help message. 181 addtask Adds tasks to the current task list. 182 querymethods Lists all registered Erasure methods. 183 importtasklist Imports an Eraser Task list to the curren user's Task List. 180 help Show this help message. 181 addtask Adds tasks to the current task list. 182 querymethods Lists all registered Erasure methods. 183 importtasklist Imports an Eraser Task list to the current user's Task 184 List. 184 185 185 186 global parameters: 186 --quiet, -qDo not create a Console window to display progress.187 --quiet, -q Do not create a Console window to display progress. 187 188 188 189 parameters for help: 189 eraser help190 191 no parameters to set.190 eraser help 191 192 no parameters to set. 192 193 193 194 parameters for addtask: 194 eraser addtask [--method=<methodGUID>] [--schedule=(now|manually|restart)] (recyclebin | unused=<volume> | dir=<directory> | file=<file>)[...]195 196 --methodThe Erasure method to use.197 --schedule The schedule the task will follow. The value must198 be oneof:199 now The task will be queued for immediate execution.200 manually The task will be created but not queued for execution.201 restart The task will be queued for execution when the202 computeris next restarted.203 This parameter defaults to now.204 recyclebin Erases files and folders in the recycle bin205 unused Erases unused space in the volume.206 optional arguments: unused=<drive>[,clusterTips[=(true|false)]]207 clusterTips If specified, the drive's files will have their208 cluster tips erased.209 dir Erases files and folders in the directory210 optional arguments: dir=<directory>[,-excludeMask][,+includeMask][,deleteIfEmpty]211 excludeMask A wildcard expression for files and folders to212 exclude.213 includeMask A wildcard expression for files and folders to214 include.215 The include mask is applied before the exclude216 mask.217 deleteIfEmpty Deletes the folder at the end of the erasure if it218 isempty.219 fileErases the specified file195 eraser addtask [--method=<methodGUID>] [--schedule=(now|manually|restart)] (recyclebin | unused=<volume> | dir=<directory> | file=<file>)[...] 196 197 --method The Erasure method to use. 198 --schedule The schedule the task will follow. The value must be one 199 of: 200 now The task will be queued for immediate execution. 201 manually The task will be created but not queued for execution. 202 restart The task will be queued for execution when the computer 203 is next restarted. 204 recyclebin Erases files and folders in the recycle bin 205 unused Erases unused space in the volume. 206 optional arguments: unused=<drive>[,clusterTips[=(true|false)]] 207 clusterTips If specified, the drive's files will have their 208 cluster tips erased. This parameter accepts a Boolean 209 value (true/false) as an argument; if none is specified 210 true is assumed. 211 dir Erases files and folders in the directory 212 optional arguments: dir=<directory>[,-excludeMask][,+includeMask][,deleteIfEmpty] 213 excludeMask A wildcard expression for files and folders to 214 exclude. 215 includeMask A wildcard expression for files and folders to 216 include. 217 The include mask is applied before the exclude mask. 218 deleteIfEmpty Deletes the folder at the end of the erasure if it is 219 empty. 220 file Erases the specified file 220 221 221 222 parameters for querymethods: 222 eraser querymethods223 224 no parameters to set.223 eraser querymethods 224 225 no parameters to set. 225 226 226 227 parameters for importtasklist: 227 eraser importtasklist (file)[...]228 229 [file]A list of one or more files to import.228 eraser importtasklist (file)[...] 229 230 [file] A list of one or more files to import. 230 231 231 232 All arguments are case sensitive.");
Note: See TracChangeset
for help on using the changeset viewer.
