aboutsummaryrefslogtreecommitdiff
path: root/pkg/images/imutil/doc/imdelete.hlp
blob: 54d926fe6862931bbedd579cac2d624ace0a940c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
.help imdelete Dec85 images.imutil
.ih
NAME
imdelete -- delete a list of images
.ih
USAGE
imdelete images
.ih
PARAMETERS
.ls images
List of images to be deleted.
.le
.ls go_ahead 
Delete the image?
.le
.ls verify = no
Verify the delete operation for each image.
.le
.ls default_action = yes
The default action for the verify query.
.le
.ih
DESCRIPTION
IMDELETE takes as input a list of IRAF images specified by \fIimages\fR and
deletes both the header and pixel files. In \fIverify\fR mode IMDELETE
queries the user for the appropriate action to be taken for each IRAF image.

If the \fIimages\fR parameter is a URL, it will be accessed and put into 
the file cache, then immediately deleted.  To simply remove a file from
the cache, use the \fIfcache\fR command instead.
.ih
EXAMPLES
1. Delete a list of images

.nf
    cl> imdelete fits*
.fi

2. Delete a list of images using verify

.nf
    cl> imdel fits* ver+
    cl> Delete file \fI'fits1'\fR ? (yes): yes
    cl> Delete file \fI'fits2'\fR ? (yes): yes
    cl> Delete file \fI'fits3'\fR ? (yes): yes
.fi

.ih
TIME REQUIREMENTS
.ih
BUGS
.ih
SEE ALSO
imcopy, fcache
.endhelp