source: trunk-3.0/docs/manpages/vfs_recycle.8@ 102

Last change on this file since 102 was 44, checked in by Paul Smedley, 18 years ago

Update source to 3.0.25b

File size: 4.1 KB
Line 
1.\"Generated by db2man.xsl. Don't modify this, modify the source.
2.de Sh \" Subsection
3.br
4.if t .Sp
5.ne 5
6.PP
7\fB\\$1\fR
8.PP
9..
10.de Sp \" Vertical space (when we can't use .PP)
11.if t .sp .5v
12.if n .sp
13..
14.de Ip \" List item
15.br
16.ie \\n(.$>=3 .ne \\$3
17.el .ne 3
18.IP "\\$1" \\$2
19..
20.TH "VFS_RECYCLE" 8 "" "" ""
21.SH "NAME"
22vfs_recycle - Samba VFS recycle bin
23.SH "SYNOPSIS"
24.HP 1
25vfs objects = recycle
26.SH "DESCRIPTION"
27.PP
28This VFS module is part of the
29\fBsamba\fR(7)
30suite.
31.PP
32The
33vfs_recycle
34intercepts file deletion requests and moves the affected files to a temporary repository rather than deleting them immediately. This gives the same effect as the Recycle Bin on Windows computers.
35.PP
36The Recycle Bin will not appear in Windows Explorer views of the network file system (share) nor on any mapped drive. Instead, a directory called .recycle will be automatically created when the first file is deleted and recycle:repository is not configured. If recycle:repository is configured, the name of the created directory depends on recycle:repository. Users can recover files from the recycle bin. If the recycle:keeptree option has been specified, deleted files will be found in a path identical with that from which the file was deleted.
37.PP
38This module is stackable.
39.SH "OPTIONS"
40.PP
41recycle:repository = PATH
42.RS 3n
43Path of the directory where deleted files should be moved.
44.sp
45If this option is not set, the default path .recycle is used.
46.RE
47.PP
48recycle:directory_mode = MODE
49.RS 3n
50Set MODE to the octal mode the recycle repository should be created with. The recycle repository will be created when first file is deleted. If recycle:subdir_mode is not set, MODE also applies to subdirectories.
51.sp
52If this option is not set, the default mode 0700 is used.
53.RE
54.PP
55recycle:subdir_mode = MODE
56.RS 3n
57Set MODE to the octal mode with which sub directories of the recycle repository should be created.
58.sp
59If this option is not set, subdirectories will be created with the mode from recycle:directory_mode.
60.RE
61.PP
62recycle:keeptree = BOOL
63.RS 3n
64Specifies whether the directory structure should be preserved or whether the files in a directory that is being deleted should be kept separately in the repository.
65.RE
66.PP
67recycle:versions = BOOL
68.RS 3n
69If this option is True, two files with the same name that are deleted will both be kept in the repository. Newer deleted versions of a file will be called "Copy #x of filename".
70.RE
71.PP
72recycle:touch = BOOL
73.RS 3n
74Specifies whether a file's access date should be updated when the file is moved to the repository.
75.RE
76.PP
77recycle:touch_mtime = BOOL
78.RS 3n
79Specifies whether a file's last modified date should be updated when the file is moved to the repository.
80.RE
81.PP
82recycle:minsize = BYTES
83.RS 3n
84Files that are smaller than the number of bytes specified by this parameter will not be put into the repository.
85.RE
86.PP
87recycle:maxsize = BYTES
88.RS 3n
89Files that are larger than the number of bytes specified by this parameter will not be put into the repository.
90.RE
91.PP
92recycle:exclude = LIST
93.RS 3n
94List of files that should not be put into the repository when deleted, but deleted in the normal way. Wildcards such as * and ? are supported.
95.RE
96.PP
97recycle:exclude_dir = LIST
98.RS 3n
99List of directories whose files should not be put into the repository when deleted, but deleted in the normal way. Wildcards such as * and ? are supported.
100.RE
101.PP
102recycle:noversions = LIST
103.RS 3n
104Specifies a list of paths (wildcards such as * and ? are supported) for which no versioning should be used. Only useful when recycle:versions is enabled.
105.RE
106.SH "EXAMPLES"
107.PP
108Log operations on all shares using the LOCAL1 facility and NOTICE priority:
109
110.nf
111
112 \fI[global]\fR
113 vfs objects = recycle
114 recycle:facility = LOCAL1
115 recycle:priority = NOTICE
116
117.fi
118.SH "VERSION"
119.PP
120This man page is correct for version 3.0.25 of the Samba suite.
121.SH "AUTHOR"
122.PP
123The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.
124
Note: See TracBrowser for help on using the repository browser.