Usage
Aliases
filesystemsfs
Commands
Inherited flags
Subcommand reference
idyl filesystem branches
List the branches of a Filesystem’s history. A branch is the entries that leave
another path at one point, identified as {segment}.{afterSeq}, with its
entry and version counts and its tips. The branch holding the current point
is marked current.
A Filesystem operand is its name, or its ID in the canonical form
(lowercase 8-4-4-4-12 hexadecimal), which addresses the Filesystem by ID.
—name <branch-id>=<name> names a branch, and —unname <branch-id> removes
its name; names are unique within the Filesystem. —trash <branch-id> moves a
branch to Trash and waits until it is there: its versions stay complete and
restorable with ‘idyl filesystem trash —restore’ until they are deleted
forever. The branch holding the current point cannot be moved to Trash.
Naming and Trash print the branch or Trash entry instead of a list.
—limit requests a page size, and —continue resumes a listing with the value
the previous page returned. JSON and YAML preserve the server’s envelope.
Usage
Flags
Examples
idyl filesystem commit
Save the Filesystem’s current files and wait for its recorded outcome.
The result is saved as a new version, unchanged at the existing version, or
failed with the server’s reason. This command does not run a process.
A Filesystem operand is its name, or its ID in the canonical form
(lowercase 8-4-4-4-12 hexadecimal), which addresses the Filesystem by ID.
—idempotency-key identifies this request. Reuse the same key and request to
recover an uncertain outcome without starting another save. When omitted,
the CLI chooses a key and reports it if the wait is interrupted.
Ctrl-C stops waiting; the recorded operation may still complete.
Usage
Flags
Examples
idyl filesystem cp
Copy files or directories between this machine and a Filesystem. Exactly one
operand is name[@version]:path, where name may also be the Filesystem’s ID.
Filesystem paths are relative POSIX paths; name: addresses the root. Prefix a
local path containing a colon with ./.
Downloads read one saved version throughout the copy. —save-first saves
the current files first and reads precisely that version. Uploads publish
one new version, reported as “saved as vN”; @version selects the upload’s
base, preserving later machine saves on other paths. A directory upload puts
its contents under the destination path; an empty path puts them at the
Filesystem root.
A local operand of - streams a POSIX tar archive instead of a local path: a
download writes the saved tree below the path to standard output, and an
upload reads an archive from standard input and puts its entries under the
destination path. Status is written to standard error.
Symbolic links are copied as links, never followed. File modes are retained;
ownership and timestamps are not. The local filesystem must support each
saved name. Downloads replace each file only after its complete size and hash
have been checked. A failed directory copy may leave files already copied,
but never a partially replaced file.
—idempotency-key identifies an upload or a save-first request. Reuse the
same key and unchanged request after an uncertain response. Ctrl-C stops
the transfer or wait; an admitted publication may still complete.
Usage
Flags
Examples
idyl filesystem create
Create a Filesystem in the resolved Namespace and subnet.
—size requests its size and —headroom the reservation for outstanding
changes; omitted, they come from the subnet’s and then the Account’s
defaults. —store selects an admitted Store (‘idyl store get’ lists them);
omitted, the subnet’s default Store is used. The Store is fixed at creation.
—fork-of <filesystem>@<version> creates the Filesystem as a copy of a saved
version and its history, and waits until the copy is done, as ‘idyl
filesystem fork’ does. —idempotency-key identifies a fork; reuse it with the
same request after an uncertain response. A create without —fork-of takes
no key, as a Computer create does: retrying it is refused once the name
exists.
Usage
Flags
Examples
idyl filesystem delete
Delete a Filesystem. The platform records the deletion and refuses new
writers; the Filesystem reads as terminating until its removal completes.
Asks for confirmation unless —yes is given.
Usage
Aliases
rm
Flags
Examples
idyl filesystem edit
Edit a Filesystem’s requested size and headroom. Settings no flag names keep
their values. The server reports a pending reservation when a running writer
cannot apply the change yet, so an accepted request does not mean the new
reservation is in force. The Store is fixed at creation.
Usage
Flags
Examples
idyl filesystem files
List the entries of one saved Filesystem directory, or delete and rename saved
paths. The operand is name[@version][:path]; without a path it is the root,
and without @version the latest saved version, or with —save-first the
version a save of the current files returns.
A Filesystem operand is its name, or its ID in the canonical form
(lowercase 8-4-4-4-12 hexadecimal), which addresses the Filesystem by ID.
A listing shows each entry’s type, permission bits, size, and name, and a
symbolic link’s target; a file’s SHA-256 is in JSON and YAML. Every name is
shown with its non-printable characters escaped. A listing reads exactly one
saved version, which is written to standard error; —limit requests a page
size, and —continue resumes with the value the previous page returned. JSON
and YAML preserve the server’s listing envelope.
—delete <path> and —rename <from>=<to> change saved files: every change
the command names is published together as one new version, reported as
“saved as vN”, on @version when given and otherwise on the current files.
Deleting a directory deletes what it contains. A rename’s source is split
from its destination at the first =; destination names must be UTF-8 in
NFC form. Earlier versions keep the old files, so ‘idyl filesystem restore’
brings them back.
—idempotency-key identifies a change or a save-first request. Reuse the
same key and unchanged request after an uncertain response.
Usage
Flags
Examples
idyl filesystem fork
Copy a saved Filesystem version and its history into a new Filesystem in the
same Namespace and subnet. Use v2 or a saved-version name after @. The source
version’s immutable owning journal entry fixes the copy; later changes or
deletion of the source do not change the new Filesystem. Running sessions and
execution authority are not copied.
A Filesystem operand is its name, or its ID in the canonical form
(lowercase 8-4-4-4-12 hexadecimal), which addresses the Filesystem by ID.
The command waits for the new Filesystem’s recorded fork outcome. Ctrl-C
stops waiting without cancelling the copy. Reuse —idempotency-key with the
same request to find its recorded outcome after an uncertain response.
When omitted, the CLI chooses a key and reports it if recovery is needed.
Usage
Flags
Examples
idyl filesystem get
Get details of a Filesystem, or list the Filesystems of the resolved
Namespace and subnet.
A Filesystem operand is its name, or its ID in the canonical form
(lowercase 8-4-4-4-12 hexadecimal), which addresses the Filesystem by ID.
With no name, lists them; -A lists across every Namespace in the Account.
—limit requests a page size, and —continue resumes a listing with the value
the previous page returned. JSON and YAML preserve the server’s envelope.
Usage
Aliases
listls

