1 <samba:parameter xmlns:samba="http://samba.org/common">
2 <term><anchor id="HIDEFILES"/>hide files(S)</term>
3 <listitem><para>This is a list of files or directories that are not
4 visible but are accessible. The DOS 'hidden' attribute is applied
5 to any files or directories that match.</para>
7 <para>Each entry in the list must be separated by a '/',
8 which allows spaces to be included in the entry. '*'
9 and '?' can be used to specify multiple files or directories
10 as in DOS wildcards.</para>
12 <para>Each entry must be a Unix path, not a DOS path and must
13 not include the Unix directory separator '/'.</para>
15 <para>Note that the case sensitivity option is applicable
16 in hiding files.</para>
18 <para>Setting this parameter will affect the performance of Samba,
19 as it will be forced to check all files and directories for a match
20 as they are scanned.</para>
22 <para>See also <link linkend="HIDEDOTFILES"><parameter moreinfo="none">hide
23 dot files</parameter></link>, <link linkend="VETOFILES"><parameter moreinfo="none">
24 veto files</parameter></link> and <link linkend="CASESENSITIVE">
25 <parameter moreinfo="none">case sensitive</parameter></link>.</para>
27 <para>Default: <emphasis>no file are hidden</emphasis></para>
28 <para>Example: <command moreinfo="none">hide files =
29 /.*/DesktopFolderDB/TrashFor%m/resource.frk/</command></para>
31 <para>The above example is based on files that the Macintosh
32 SMB client (DAVE) available from <ulink url="http://www.thursby.com">
33 Thursby</ulink> creates for internal use, and also still hides
34 all files beginning with a dot.</para></listitem>