IRAF help page for package system, program protect

from NOAO protect -- protect files from deletionUSAGEPARAMETERSDESCRIPTIONEXAMPLESSEE ALSO

protect -- protect files from deletion


USAGE

protect files


PARAMETERS

files

A template specifying the file or files to be protected.


DESCRIPTION

Protect asserts protection from deletion for the specified files. A protected file can be deleted only by first "unprotecting" it. File protection is preserved when a file is copied or renamed, even when copied or renamed to a remote network node, but may be lost when a file is backed up on tape and later restored (depending upon what utility one uses). Note that imagefiles are automatically protected to prevent accidental deletion of the header file, leaving a "zombie" pixel file somewhere on disk.


EXAMPLES

1. Protect the file "paper.ms" from deletion, accidental or otherwise.

cl> protect paper.ms

2. Protect all the ".ms" files from deletion.

cl> protect *.ms


SEE ALSO

unprotect, delete,


This page automatically generated from the iraf .hlp file. If you would like your local iraf package .hlp files converted into HTML please contact Dave Mills at NOAO.

dmills@noao.edu