1 | .\" $Id: lsdel.1,v 1.8 1999-01-22 23:09:13 ghudson Exp $ |
---|
2 | .\" |
---|
3 | .\" Copyright 1989 by the Massachusetts Institute of Technology. All |
---|
4 | .\" rights reserved. The file /usr/include/mit-copyright.h specifies |
---|
5 | .\" the terms and conditions for redistribution. |
---|
6 | .\" |
---|
7 | .\" |
---|
8 | .TH LSDEL 1 "January 27, 1988" "MIT Project Athena" |
---|
9 | .ds ]W MIT Project Athena |
---|
10 | .SH NAME |
---|
11 | lsdel \- list deleted files |
---|
12 | .SH SYNOPSIS |
---|
13 | .B lsdel |
---|
14 | [ |
---|
15 | .B \-d |
---|
16 | ] [ |
---|
17 | .B \-r |
---|
18 | ] [ |
---|
19 | .B \-t \fIn\fR |
---|
20 | ] [ |
---|
21 | .B \-s |
---|
22 | ] [ |
---|
23 | .B \-m |
---|
24 | ] [ |
---|
25 | .B \-y |
---|
26 | ] [ |
---|
27 | .B \-1 |
---|
28 | ] [ |
---|
29 | .B \-C |
---|
30 | ] [ filename [ ... ]] |
---|
31 | .PP |
---|
32 | .SH DESCRIPTION |
---|
33 | .I Lsdel |
---|
34 | lists files that have been marked for deletion by the \fIdelete\fR(1) |
---|
35 | program. |
---|
36 | .PP |
---|
37 | For information about using wildcards with \fIlsdel\fR, see |
---|
38 | \fIundelete\fR(1). |
---|
39 | .PP |
---|
40 | Filenames passed to \fIlsdel\fR can be directories (non-deleted or |
---|
41 | deleted) or deleted files. If a non-deleted directory is specified, |
---|
42 | lsdel lists the deleted contents of that directory. If the |
---|
43 | .BR \-r |
---|
44 | option is specified, all non-deleted children of the directory will be |
---|
45 | searched recursively for deleted files. If no command-line filenames |
---|
46 | are specified, |
---|
47 | .I lsdel |
---|
48 | defaults to the current working directory. |
---|
49 | .PP |
---|
50 | .I Lsdel |
---|
51 | recursively lists deleted directories by default. This can be |
---|
52 | disabled with the |
---|
53 | .BR \-d |
---|
54 | option, which causes directory names, rather than their contents, to |
---|
55 | be listed. |
---|
56 | .PP |
---|
57 | The |
---|
58 | .BR \-t |
---|
59 | option allows the user to specify a minimum age, in days, of files to |
---|
60 | list. Only files that were |
---|
61 | .IR delete d |
---|
62 | \fIn\fR days or more ago will be listed. |
---|
63 | .PP |
---|
64 | The |
---|
65 | .BR \-s |
---|
66 | options tells |
---|
67 | .I lsdel |
---|
68 | to follow symbolic links when searching for deleted files. The |
---|
69 | .BR \-m |
---|
70 | option does the same thing for mount points. |
---|
71 | .PP |
---|
72 | The |
---|
73 | .BR \-y |
---|
74 | option causes |
---|
75 | .I lsdel |
---|
76 | to print the total amount of space taken up by all the files it lists. |
---|
77 | .PP |
---|
78 | The |
---|
79 | .BR \-1 |
---|
80 | option forces output to be one file per line; this is the default when |
---|
81 | output is not to a terminal. The |
---|
82 | .BR \-C |
---|
83 | option does the opposite, forcing multi-column output, which is the |
---|
84 | default when output is to a terminal. |
---|
85 | .SH "SEE ALSO" |
---|
86 | delete(1), undelete(1), purge(1), expunge(1), ls(1) |
---|
87 | .SH AUTHOR |
---|
88 | Jonathan I. Kamens (MIT-Project Athena) |
---|
89 | .SH RESTRICTIONS |
---|
90 | Copyright (c) 1989 by the Massachusetts Institute of Technology. All |
---|
91 | rights reserved. |
---|
92 | .IR Delete (1) |
---|
93 | specifies the terms and conditions for redistribution. |
---|