author | František Kučera <franta-hg@frantovo.cz> |
Mon, 21 Feb 2022 00:43:11 +0100 | |
branch | v_0 |
changeset 329 | 5bc2bb8b7946 |
parent 244 | d4f401b5f90c |
permissions | -rw-r--r-- |
23
0d2729ed16ed
zkouška interního odkazu
František Kučera <franta-hg@frantovo.cz>
parents:
18
diff
changeset
|
1 |
<stránka |
0d2729ed16ed
zkouška interního odkazu
František Kučera <franta-hg@frantovo.cz>
parents:
18
diff
changeset
|
2 |
xmlns="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/strana" |
0d2729ed16ed
zkouška interního odkazu
František Kučera <franta-hg@frantovo.cz>
parents:
18
diff
changeset
|
3 |
xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro"> |
0d2729ed16ed
zkouška interního odkazu
František Kučera <franta-hg@frantovo.cz>
parents:
18
diff
changeset
|
4 |
|
244
d4f401b5f90c
examples: move each example to a separate page + add generated list of examples
František Kučera <franta-hg@frantovo.cz>
parents:
241
diff
changeset
|
5 |
<nadpis>Reading files metadata using relpipe-in-filesystem</nadpis> |
d4f401b5f90c
examples: move each example to a separate page + add generated list of examples
František Kučera <franta-hg@frantovo.cz>
parents:
241
diff
changeset
|
6 |
<perex>accessing file metadata like path, type, size or owner</perex> |
d4f401b5f90c
examples: move each example to a separate page + add generated list of examples
František Kučera <franta-hg@frantovo.cz>
parents:
241
diff
changeset
|
7 |
<m:pořadí-příkladu>01200</m:pořadí-příkladu> |
4
1bb39595a51c
genrování hlavní nabídky #1
František Kučera <franta-hg@frantovo.cz>
parents:
2
diff
changeset
|
8 |
|
2
ab9099ff88fa
vkládání zápatí, jmenné prostory, saxon
František Kučera <franta-hg@frantovo.cz>
parents:
1
diff
changeset
|
9 |
<text xmlns="http://www.w3.org/1999/xhtml"> |
176
46042297e0d6
relpipe-tr-validator: specification and examples
František Kučera <franta-hg@frantovo.cz>
parents:
140
diff
changeset
|
10 |
|
237
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
11 |
<p> |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
12 |
Our filesystems contain valuable information and using proper tools we can extract them. |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
13 |
Using <code>relpipe-in-filesystem</code> we can gather metadata of our files and process them in relational way. |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
14 |
This tools does not traverse our filesystem (remember the rule: <em>do one thing and do it well</em>), |
240
d81c623de788
examples: small updates
František Kučera <franta-hg@frantovo.cz>
parents:
238
diff
changeset
|
15 |
instead, it eats a list of file paths separated by <code>\0</code>. |
d81c623de788
examples: small updates
František Kučera <franta-hg@frantovo.cz>
parents:
238
diff
changeset
|
16 |
It is typically used together with the <code>find</code> command, but we can also create such list by hand using e.g. <code>printf</code> command or <code>tr \\n \\0</code>. |
237
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
17 |
</p> |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
18 |
|
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
19 |
<m:pre jazyk="bash">find /etc/ssh/ -print0 | relpipe-in-filesystem | relpipe-out-tabular</m:pre> |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
20 |
|
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
21 |
<p> |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
22 |
In the basic scenario, it behaves like <code>ls -l</code>, just more modular and machine-readable: |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
23 |
</p> |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
24 |
|
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
25 |
<pre><![CDATA[filesystem: |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
26 |
╭───────────────────────────────────┬───────────────┬────────────────┬────────────────┬────────────────╮ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
27 |
│ path (string) │ type (string) │ size (integer) │ owner (string) │ group (string) │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
28 |
├───────────────────────────────────┼───────────────┼────────────────┼────────────────┼────────────────┤ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
29 |
│ /etc/ssh/ │ d │ 0 │ root │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
30 |
│ /etc/ssh/moduli │ f │ 553122 │ root │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
31 |
│ /etc/ssh/ssh_host_ecdsa_key │ f │ 227 │ root │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
32 |
│ /etc/ssh/sshd_config │ f │ 3262 │ root │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
33 |
│ /etc/ssh/ssh_host_ed25519_key.pub │ f │ 91 │ root │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
34 |
│ /etc/ssh/ssh_host_ecdsa_key.pub │ f │ 171 │ root │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
35 |
│ /etc/ssh/ssh_host_rsa_key │ f │ 1679 │ root │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
36 |
│ /etc/ssh/ssh_config │ f │ 1580 │ root │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
37 |
│ /etc/ssh/ssh_host_ed25519_key │ f │ 399 │ root │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
38 |
│ /etc/ssh/ssh_import_id │ f │ 338 │ root │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
39 |
│ /etc/ssh/ssh_host_rsa_key.pub │ f │ 391 │ root │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
40 |
╰───────────────────────────────────┴───────────────┴────────────────┴────────────────┴────────────────╯ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
41 |
Record count: 11]]></pre> |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
42 |
|
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
43 |
<p> |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
44 |
We can specify desired attributes and also their aliases: |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
45 |
</p> |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
46 |
|
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
47 |
<m:pre jazyk="bash"><![CDATA[find /etc/ssh/ -print0 \ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
48 |
| relpipe-in-filesystem \ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
49 |
--file path --as artefact \ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
50 |
--file size \ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
51 |
--file owner --as dear_owner \ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
52 |
| relpipe-out-tabular]]></m:pre> |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
53 |
|
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
54 |
<p>And we will get a subset with renamed attributes:</p> |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
55 |
|
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
56 |
<pre><![CDATA[filesystem: |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
57 |
╭───────────────────────────────────┬────────────────┬─────────────────────╮ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
58 |
│ artefact (string) │ size (integer) │ dear_owner (string) │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
59 |
├───────────────────────────────────┼────────────────┼─────────────────────┤ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
60 |
│ /etc/ssh/ │ 0 │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
61 |
│ /etc/ssh/moduli │ 553122 │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
62 |
│ /etc/ssh/ssh_host_ecdsa_key │ 227 │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
63 |
│ /etc/ssh/sshd_config │ 3262 │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
64 |
│ /etc/ssh/ssh_host_ed25519_key.pub │ 91 │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
65 |
│ /etc/ssh/ssh_host_ecdsa_key.pub │ 171 │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
66 |
│ /etc/ssh/ssh_host_rsa_key │ 1679 │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
67 |
│ /etc/ssh/ssh_config │ 1580 │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
68 |
│ /etc/ssh/ssh_host_ed25519_key │ 399 │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
69 |
│ /etc/ssh/ssh_import_id │ 338 │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
70 |
│ /etc/ssh/ssh_host_rsa_key.pub │ 391 │ root │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
71 |
╰───────────────────────────────────┴────────────────┴─────────────────────╯ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
72 |
Record count: 11]]></pre> |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
73 |
|
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
74 |
<p> |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
75 |
We can also choose, which path format fits our needs best: |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
76 |
</p> |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
77 |
|
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
78 |
|
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
79 |
<m:pre jazyk="bash"><![CDATA[find ../../etc/ssh/ -print0 \ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
80 |
| relpipe-in-filesystem \ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
81 |
--file path \ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
82 |
--file path_absolute \ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
83 |
--file path_canonical \ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
84 |
--file name \ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
85 |
| relpipe-out-tabular]]></m:pre> |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
86 |
|
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
87 |
<p>The <code>path</code> attribute contains the exact same value as was on input. Other formats are derived:</p> |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
88 |
|
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
89 |
<pre><![CDATA[filesystem: |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
90 |
╭────────────────────────────────────────┬───────────────────────────────────────────────────┬───────────────────────────────────┬──────────────────────────╮ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
91 |
│ path (string) │ path_absolute (string) │ path_canonical (string) │ name (string) │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
92 |
├────────────────────────────────────────┼───────────────────────────────────────────────────┼───────────────────────────────────┼──────────────────────────┤ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
93 |
│ ../../etc/ssh/ │ /home/hack/../../etc/ssh/ │ /etc/ssh │ │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
94 |
│ ../../etc/ssh/moduli │ /home/hack/../../etc/ssh/moduli │ /etc/ssh/moduli │ moduli │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
95 |
│ ../../etc/ssh/ssh_host_ecdsa_key │ /home/hack/../../etc/ssh/ssh_host_ecdsa_key │ /etc/ssh/ssh_host_ecdsa_key │ ssh_host_ecdsa_key │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
96 |
│ ../../etc/ssh/sshd_config │ /home/hack/../../etc/ssh/sshd_config │ /etc/ssh/sshd_config │ sshd_config │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
97 |
│ ../../etc/ssh/ssh_host_ed25519_key.pub │ /home/hack/../../etc/ssh/ssh_host_ed25519_key.pub │ /etc/ssh/ssh_host_ed25519_key.pub │ ssh_host_ed25519_key.pub │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
98 |
│ ../../etc/ssh/ssh_host_ecdsa_key.pub │ /home/hack/../../etc/ssh/ssh_host_ecdsa_key.pub │ /etc/ssh/ssh_host_ecdsa_key.pub │ ssh_host_ecdsa_key.pub │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
99 |
│ ../../etc/ssh/ssh_host_rsa_key │ /home/hack/../../etc/ssh/ssh_host_rsa_key │ /etc/ssh/ssh_host_rsa_key │ ssh_host_rsa_key │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
100 |
│ ../../etc/ssh/ssh_config │ /home/hack/../../etc/ssh/ssh_config │ /etc/ssh/ssh_config │ ssh_config │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
101 |
│ ../../etc/ssh/ssh_host_ed25519_key │ /home/hack/../../etc/ssh/ssh_host_ed25519_key │ /etc/ssh/ssh_host_ed25519_key │ ssh_host_ed25519_key │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
102 |
│ ../../etc/ssh/ssh_import_id │ /home/hack/../../etc/ssh/ssh_import_id │ /etc/ssh/ssh_import_id │ ssh_import_id │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
103 |
│ ../../etc/ssh/ssh_host_rsa_key.pub │ /home/hack/../../etc/ssh/ssh_host_rsa_key.pub │ /etc/ssh/ssh_host_rsa_key.pub │ ssh_host_rsa_key.pub │ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
104 |
╰────────────────────────────────────────┴───────────────────────────────────────────────────┴───────────────────────────────────┴──────────────────────────╯ |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
105 |
Record count: 11]]></pre> |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
106 |
|
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
107 |
<p> |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
108 |
We can also <em>select</em> symlink targets or their types. |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
109 |
If some file is missing or is inaccessible due to permissions, only <code>path</code> is printed for it. |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
110 |
</p> |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
111 |
|
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
112 |
<p> |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
113 |
Tip: if we are looking for files in the current directory and want omit the „.“ we just call: <code>find -printf '%P\0'</code> instead of <code>find -print0</code>. |
2adb6465eadd
examples: relpipe-in-filesystem
František Kučera <franta-hg@frantovo.cz>
parents:
234
diff
changeset
|
114 |
</p> |
238
6383a4457833
examples: relpipe-in-filesystem – extended attributes (xattr)
František Kučera <franta-hg@frantovo.cz>
parents:
237
diff
changeset
|
115 |
|
87
25dec6931f18
Lepší odsazení, tabulátory.
František Kučera <franta-hg@frantovo.cz>
parents:
23
diff
changeset
|
116 |
</text> |
4
1bb39595a51c
genrování hlavní nabídky #1
František Kučera <franta-hg@frantovo.cz>
parents:
2
diff
changeset
|
117 |
|
1 | 118 |
</stránka> |