PURGE Command

HSI Version: 

All

Purpose: 

Purge file(s) from disk cache 

Aliases: 

 

Command Format: 

purge [-F] [-h] [-l hlevel[-R] path ...

Options: 

-F : force purge to occur

-h : if specified, treats symlinks as normal files. Default is to skip symlinks

-l : purge data from hierarchy level hlevel  (0-4) Default is level 0.

-R : [standard option]recursively traverse directories in the specified path(s)

Keywords: 

 

Usage Notes: 

The underlying HPSS call applies only to open files, so note that each file to be purged by this command must first be opened. Use recursion and wildcards sparingly. 

Example: 

purge -R dir1 dir2 *.h

Related Command(s):