op_clrtmp
The op_clrtmp shell script and op_clrtmp.bat batch file remove all files from the temporary file directory in your administration directory (<HOME>/op_admin/tmp).
Description
Several Riverbed Modeler programs generate temporary files in the course of executing. These files are stored in the temporary file directory <HOME>/op_admin/tmp, as described in Chapter 1 “System Environment” on page 1). Some temporary files are removed as soon as the program that created them completes execution. Other temporary files remain in this directory until they are explicitly removed.
After many invocations of Riverbed Modeler programs or many print operations, the temporary file directory can grow large, containing many files. When this occurs, all directory files can be removed via the Linux command rm *. However, issuing this command is risky, because it does not verify that the user is actually in the proper directory. Thus, an incorrect assumption about which directory is current can lead to accidental removal of valuable files.
A more reliable way to remove the files in the temporary directory is provided by the op_clrtmp shell script (Linux) and op_clrtmp.bat batch file (Windows). These utilities can be invoked from any directory and will remove all the files from <HOME>/op_admin/tmp, without risk of removing files in any other directory.
Preferences
The op_clrtmp and op_clrtmp.bat utilities use no preferences.
Example Usage
% ls <HOME>/op_admin/tmp
prtdoc.268.0.ps prtdoc.5170.1.ps prgfx.23542.0.ps
prtdoc.268.1.ps prrep.136.0.ps prgfx.23570.0.ps
prtdoc.268.2.ps prgfx.136.1.ps ptc_29273.0
prtdoc.5170.0.ps ndgfx.136.2.ps
% op_clrtmp
% ls <HOME>/op_admin/tmp
%