/usr/share/doublecmd/doc/en/findfiles.html is in doublecmd-help-en 0.5.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Find files</title>
<link rel="STYLESHEET" type="text/css" href="doublecmd.css"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<div class="CHAPTER">
<h1>Find files</h1>
<hr/>
<h2><a name="attributes">Searching for files with specific attributes.</a></h2>
<p>
To search for specific attributes you must enter a string pattern, which specifies which attributes are searched for, and if they should be enabled or disabled. Single attribute is represented with the following format:</p>
<code><attribute>+</code> or <code><attribute>-</code>
<p>
The plus sign means that the file must have that attribute set, minus sign means that the file must not have that attribute set.</p>
<p>The various <tt><attribute></tt> identifiers are as follows:</p>
<p>Windows:<p>
<table border="0" frame="void" width="50%" class="CALSTABLE">
<tbody>
<thead style="font-size: 80%; border-width=2"><td>File attributes:</td></thead>
<tr valign="top" title="wer">
<td>
<code>
r - read only<br>
a - archive<br>
h - hidden<br>
s - system<br>
d - directory<br>
l - symlink<br>
t - temporary<br>
p - sparse<br>
c - compressed<br>
e - encrypted<br>
</code>
</td>
</tr>
</tbody>
</table></p>
</p>
<p>Unix:<p>
<table border="0" frame="void" width="50%" class="CALSTABLE">
<tbody>
<thead style="font-size: 80%; border-width=2"><td>Permissions:</td><td>File types:</td></thead>
<tr valign="top" title="wer">
<td>
<code>
ur - user read<br>
uw - user write<br>
ux - user execute<br>
gr - group read<br>
gw - group write<br>
gx - group execute<br>
or - others read<br>
ow - others write<br>
ox - others execute<br>
us - set user ID<br>
gs - set group ID<br>
sb - sticky bit<br>
</code>
</td>
<td><code>
b - block<br>
c - character<br>
d - directory<br>
f - fifo<br>
l - symlink<br>
r - regular<br>
s - socket<br>
</code>
</td>
</tr>
</tbody>
</table></p>
On Unix you may also use octal representation of permissions. For example 0750 is the same as ur, uw, ux, gr and gx combined.
</p>
<h4>Advanced patterns.</h4>
<p>
Several attributes may be combined together with an AND relationship. Just specify one pattern after another. For example: <tt>r+s+h+</tt> matches files that have all three: read-only, hidden and system attributes set.
</p>
<p>
Furthermore, such groups of AND attributes may be combined together with an OR relationship. This is done by using the "|" character (vertical bar). For example: <tt>r+|s+h+</tt> matches files that have either:
<list>
<li>read-only attribute set</li>
or
<li>both hidden and system attributes set.</li>
</list>
</p>
<p>
It is possible to negate AND sequences using "!" character specified at the start of the sequence. For example: <tt>!r+s+h+</tt> matches files that don't have all three: read-only, hidden and system attributes set. The matched file may have none, one or more of those attributes set, but not all of them. Negation only applies to AND sequences, thus pattern <tt>!r+|!s+h+</tt> matches files that either:
<list>
<li>don't have read-only attribute set (the same as r-)</li>
or
<li>don't have both hidden and system attributes set.</li>
</list>
</p>
<p>You cannot use parenthesis to separate sequences.</p>
<h4>Examples.</h4>
<br>Windows:<br>
<table border="0" frame="void" width="100%" class="CALSTABLE" cellspacing="20">
<tbody>
<tr>
<td><tt>a+s-h-</tt></td>
<td>matches files that have archive attribute set and don't have neither system nor hidden attributes set</td>
</tr>
<tr>
<td><tt>e+|c+</tt></td>
<td>matches files that are either compressed or encrypted (these are NTFS attributes)</td>
</tr>
<tr>
<td><tt>d-</tt></td>
<td>matches files but not directories</td>
</tr>
</tbody>
</table>
<br>Unix:<br>
<table border="0" frame="void" width="100%" class="CALSTABLE" cellspacing="20">
<tbody>
<tr>
<td><tt>uw+|gw+|ow+</tt></td>
<td>matches files that are writeable either by user, group or anybody else</td>
</tr>
<tr>
<td><tt>222+</tt></td>
<td>matches files that are writeable by user, and by group, and by anybody else</td>
</tr>
<tr>
<td><tt>d+ox+</tt></td>
<td>matches directories that are accessible by anybody</td>
</tr>
<tr>
<td><tt>!700+</tt></td>
<td>matches files that are not fully accessible to the user</td>
</tr>
</tbody>
</table>
<div class="SECT1">
<p class="NAVBACK"><a href="index.html">Home</a></p>
</div>
</div>
</body>
</html>
|