Syntax: dstrashcan [options] <handle+:all:expired:top></handle+:all:expired:top>
The dstrashcan command allows the administrator to list, restore, or expunge objects that are in the DocuShare trashcan.
Options for dstrashcan
-f csv Filename. Exports trashcan information to a CSV file that can be captured from
the console. After exporting, look for bin/dstrashcan.csv.
-h Help. Display command help text.
-l Level. Write the specified level (debug, trace, info, warn, error, fatal) message to
the log file.
-q Quiet. Run the command in quiet mode. Suppresses all informational messages
and user yes/no prompts. Assume Yes to all prompts and proceed at your own
risk.
Operations for dstrashcan
list List the contents of the trashcan. The scope is determined by specifying either all (top level object handles plus its content), expired (top level expired objects), or top (top level objects).
expunge Expunge the contents of the trashcan. The scope determined by a space separated list of either object handles, all objects, or expired objects.
restore Restore the contents of the trashcan. The scope determined by a space separated list of either object handles, all objects, or expired objects. The restore destination is the original parent of the objects.
Example using dstrashcan
dstrashcan -f csv list top : displays the contents of the trashcan as a CSV file.
Solution ID: 505