LIT Commands

ERASE

Updated June 2011 (see History)

ERASE fspec {switches}

ERASE not surprisingly erases files.

Parameters

fspec

specifies an input file, using either AMOS-style or native operating system syntax. AMOS-style filespecs may include the * and ? and [] wildcards (e.g. DSK?:[]*.TMP). Native operating system filespecs must be individually quoted, must include at least one slash, and must not contain wildcards (e.g. "./this native file.lst","/tmp/somefile.tmp"). More than one inspec may be specified, in which case they must be separated by commas.

switches

 

Switch

Function

/Q

Query: prompts for a confirmation before erasing each file matching the wildcard specification.

mindays:#

Erase only those files that have not been modified in at least the last ### days.

mindsecs:#

Erase only those files that have not been modified in at least the last ### seconds.

/?

Writes switch listing and usage info to the screen.

 

History

2011 June, A-Shell 5.1.1221: Remove the limit on the number of PPNs allowed per device.