]> arthur.barton.de Git - netatalk.git/blob - man/man1/acleandir.1
Import generated manpages from XML files
[netatalk.git] / man / man1 / acleandir.1
1 '\" t
2 .\"     Title: acleandir
3 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.74.3 <http://docbook.sf.net/>
5 .\"      Date: 26 Feb 1998
6 .\"    Manual: Netatalk 2.0.4
7 .\"    Source: Netatalk 2.0.4
8 .\"  Language: English
9 .\"
10 .TH "ACLEANDIR" "1" "26 Feb 1998" "Netatalk 2\&.0\&.4" "Netatalk 2.0.4"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
15 .nh
16 .\" disable justification (adjust text to left margin only)
17 .ad l
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
21 .SH "NAME"
22 acleandir \- clean up a directory containing netatalk Apple Macintosh files
23 .SH "SYNOPSIS"
24 .HP \w'\fBacleandir\fR\fB\fR\ 'u
25 \fBacleandir\fR\fB\fR [\-rnvi] \fIdirname\fR
26 .br
27
28 .SH "DESCRIPTION"
29 .PP
30 \fBacleandir\fR
31 cleans up the directory
32 \fIdirname\&.\fR
33 By default it simply removes "orphan" AppleDouble files, i\&.e\&. those which do not have a corresponding data file\&.
34 .SH "OPTIONS"
35 .PP
36 \fB\-d\fR
37 .RS 4
38 Also remove the \&.AppleDouble directory if it contains no AppleDouble files after "orphan" removal\&. This will result in the finder location of
39 \fIdirname\fR
40 within its parent being lost\&.
41 .RE
42 .PP
43 \fB\-r\fR, \fB\-R\fR
44 .RS 4
45 Recursive\&. Clean up directories recursively\&.
46 .RE
47 .PP
48 \fB\-n\fR
49 .RS 4
50 Display the filenames of "orphans" but don\'t remove any\&. Display size if "orphan" appears to contain a resource fork\&.
51 .RE
52 .PP
53 \fB\-i\fR
54 .RS 4
55 Interactive\&. Prompt for confirmation before a removal\&. A y in answer confirms that the removal should proceed\&.
56 .RE
57 .PP
58 \fB\-v\fR
59 .RS 4
60 Verbose\&. Display the names of all "orphans" and \&.AppleDouble directories removed\&. Reports the size if the "orphan" appears to contain a resource fork\&.
61 .RE
62 .PP
63 \fB\-a\fR
64 .RS 4
65 Aggressive\&. Remove all AppleDouble files, not just "orphans"\&. Also remove the \&.AppleDesktop directory if present\&. Impies
66 \fB\-d\fR
67 option\&. Use with caution as the Macintosh type/creator and finder location of all files will be lost and the content of some documents, such as Symantec Projects, will be destroyed\&.
68 .RE
69 .SH "DIAGNOSTICS"
70 .PP
71 returns exit status 0 unless bad options are provided or a directory is not given on the command line\&.
72 .SH "SEE ALSO"
73 .PP
74 \fBafile\fR(1),
75 \fBafpd\fR(8)