https://wiki.archlinux.org/api.php?hidebots=1&hideanons=1&days=7&limit=50&target=Profile-sync-daemon&action=feedrecentchanges&feedformat=atomArchWiki - Changes related to "Profile-sync-daemon" [en]2024-03-28T23:42:02ZRelated changesMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Rsync&diff=804175&oldid=800354Rsync2024-03-23T02:14:12Z<p><span dir="auto"><span class="autocomment">Full system backup: </span> Slightly clarify --exclude-from</span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 02:14, 23 March 2024</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l304">Line 304:</td>
<td colspan="2" class="diff-lineno">Line 304:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>By using the {{ic|-aAX}} set of options, the files are transferred in archive mode which ensures that symbolic links, devices, permissions, ownerships, modification times, [[ACL]]s, and extended attributes are preserved, assuming that the target [[file system]] supports the feature. The option {{ic|-H}} preserves hard links, but uses more memory.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>By using the {{ic|-aAX}} set of options, the files are transferred in archive mode which ensures that symbolic links, devices, permissions, ownerships, modification times, [[ACL]]s, and extended attributes are preserved, assuming that the target [[file system]] supports the feature. The option {{ic|-H}} preserves hard links, but uses more memory.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The {{ic|--exclude}} option causes files that match the given patterns to be excluded. <del style="font-weight: bold; text-decoration: none;">The </del>{{ic|1=--exclude-from=''file''}} option <del style="font-weight: bold; text-decoration: none;">can be used instead, listing the </del>directories in <del style="font-weight: bold; text-decoration: none;">a </del>{{ic|''file''}}, similar to the example described in [[#Advanced usage of filter rules]].</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The {{ic|--exclude}} option causes files<ins style="font-weight: bold; text-decoration: none;">/directories </ins>that match the given patterns to be excluded. <ins style="font-weight: bold; text-decoration: none;">Instead or in conjunction, the </ins>{{ic|1=--exclude-from=''file''}} option <ins style="font-weight: bold; text-decoration: none;">excludes files/</ins>directories <ins style="font-weight: bold; text-decoration: none;">that match patterns (one per line) </ins>in {{ic|''file''}}, similar to the example described in [[#Advanced usage of filter rules]] <ins style="font-weight: bold; text-decoration: none;">but without the {{ic|+}}/{{ic|-}} syntax</ins>.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The directories {{ic|/dev}}, {{ic|/proc}}, {{ic|/sys}}, {{ic|/tmp}}, and {{ic|/run}} are included in the above command, but the ''contents'' of those directories are excluded. This is because they are populated on boot, but the directories themselves are not created. {{ic|/lost+found}} is filesystem-specific. Quoting the exclude patterns will avoid expansion by the [[shell]], which is necessary, for example, when backing up over [[SSH]]. Ending the excluded paths with {{ic|*}} ensures that the directories themselves are created if they do not already exist.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The directories {{ic|/dev}}, {{ic|/proc}}, {{ic|/sys}}, {{ic|/tmp}}, and {{ic|/run}} are included in the above command, but the ''contents'' of those directories are excluded. This is because they are populated on boot, but the directories themselves are not created. {{ic|/lost+found}} is filesystem-specific. Quoting the exclude patterns will avoid expansion by the [[shell]], which is necessary, for example, when backing up over [[SSH]]. Ending the excluded paths with {{ic|*}} ensures that the directories themselves are created if they do not already exist.</div></td></tr>
<!-- diff cache key archwiki:diff:1.41:old-800354:rev-804175:php=table -->
</table>Espresso