on master help sign in
Merge pull request #549 from urbit/headers
acdc102rmariani
using/filesystem.md+14−14
@@ -143,7 +143,7 @@ path.
143The structure that combines a `beak` with further path information is called a
143The structure that combines a `beak` with further path information is called a
144`beam`.
144`beam`.
145
145
146−##### Relative paths
146+#### Relative paths
147
147
148The `%` command, which we gestured at in the above section, represents the
148The `%` command, which we gestured at in the above section, represents the
149**relative path**, which is the path where you are currently working. If your
149**relative path**, which is the path where you are currently working. If your
@@ -170,7 +170,7 @@ up twice the hierarchy.
170There are no local relative paths. `/foo/bar` must be written as
170There are no local relative paths. `/foo/bar` must be written as
171`%/foo/bar`.
171`%/foo/bar`.
172
172
173−##### Substitution
173+#### Substitution
174
174
175You don't need to write out the explicit path every time you want to reference
175You don't need to write out the explicit path every time you want to reference
176somewhere outside of your working directory. You can substitute `=` for the
176somewhere outside of your working directory. You can substitute `=` for the
@@ -227,7 +227,7 @@ command.
227Most commonly this is used to avoid having to know the current revision
227Most commonly this is used to avoid having to know the current revision
228number in the `dojo`: `/~lodleb-ritrul/home/~2018.10.2..00.35.44..d7e8/gen/example/hoon`
228number in the `dojo`: `/~lodleb-ritrul/home/~2018.10.2..00.35.44..d7e8/gen/example/hoon`
229
229
230−##### Changing directories
230+#### Changing directories
231
231
232Change the working directory with `=dir`. It's our equivalent of the Unix `cd`.
232Change the working directory with `=dir`. It's our equivalent of the Unix `cd`.
233
233
@@ -264,7 +264,7 @@ brings you one level up:
264
264
265### Revision-control
265### Revision-control
266
266
267−##### Mount
267+#### Mount
268
268
269Syntax: `|mount /clay/path [Unix-name]`
269Syntax: `|mount /clay/path [Unix-name]`
270
270
@@ -284,7 +284,7 @@ Mounts `%/web` to `/web` inside your pier directory.
284
284
285Mounts `%/gen` to `/generators` inside your pier directory.
285Mounts `%/gen` to `/generators` inside your pier directory.
286
286
287−##### Unmount
287+#### Unmount
288
288
289```
289```
290|unmount [clay-path || Unix-name]
290|unmount [clay-path || Unix-name]
@@ -306,7 +306,7 @@ Unmounts the path `%/web` from whatever name it was mounted as.
306
306
307Unmounts the Unix path `/generators`.
307Unmounts the Unix path `/generators`.
308
308
309−##### Merge
309+#### Merge
310
310
311```
311```
312|merge desk beak[, =gem strategy]
312|merge desk beak[, =gem strategy]
@@ -331,7 +331,7 @@ Merge `/=home=` into `%home-work` using merge strategy `%fine`.
331
331
332Merge the `%examples` desk from `~waxbex-ribmex`
332Merge the `%examples` desk from `~waxbex-ribmex`
333
333
334−##### Sync
334+#### Sync
335
335
336```
336```
337|sync desk plot [plot-desk]
337|sync desk plot [plot-desk]
@@ -352,7 +352,7 @@ that issued a star).
352|sync %home ~doznec
352|sync %home ~doznec
353```
353```
354
354
355−##### Unsync
355+#### Unsync
356
356
357```
357```
358|unsync desk plot [plot-desk]
358|unsync desk plot [plot-desk]
@@ -367,7 +367,7 @@ Example:
367|unsync %home-local ~dozbud %home
367|unsync %home-local ~dozbud %home
368```
368```
369
369
370−##### Label
370+#### Label
371
371
372```
372```
373|label desk name`
373|label desk name`
@@ -430,7 +430,7 @@ annotate any conflicts, if we know how.
430
430
431### Manipulation
431### Manipulation
432
432
433−##### +cat
433+#### +cat
434
434
435Syntax: `+cat path [path ...]`
435Syntax: `+cat path [path ...]`
436
436
@@ -438,7 +438,7 @@ Similar to Unix `cat`. `+cat` takes one or more `path`s, and prints their
438contents. If that `path` is a file, the contents of the file is printed. If the
438contents. If that `path` is a file, the contents of the file is printed. If the
439`path` terminates in a directory, the list of names at that path is produced.
439`path` terminates in a directory, the list of names at that path is produced.
440
440
441−##### +ls
441+#### +ls
442
442
443Syntax: `+ls path`
443Syntax: `+ls path`
444
444
@@ -450,20 +450,20 @@ Produces a list of names at the `path`.
450~your-urbit:dojo> +cat %/our/home/gen/curl/hoon
450~your-urbit:dojo> +cat %/our/home/gen/curl/hoon
451```
451```
452
452
453−##### |rm
453+#### |rm
454
454
455Syntax: `|rm path`
455Syntax: `|rm path`
456
456
457Remove the data at `path`. `path` must be a path to actual node, not a
457Remove the data at `path`. `path` must be a path to actual node, not a
458'directory'
458'directory'
459
459
460−##### |cp
460+#### |cp
461
461
462Syntax: `|cp to from`
462Syntax: `|cp to from`
463
463
464Copy the file at `from` into the path `to`.
464Copy the file at `from` into the path `to`.
465
465
466−##### |mv
466+#### |mv
467
467
468Syntax: `|mv to from`
468Syntax: `|mv to from`
469
469