Module cmd

Module cmd 

Source

Enums§

NewFileHandling

Functions§

commit
Commit a table, storing its contents as a BTRFS snapshot
cp
Copy xattrs from src to dest
create
Like init, but creates the directory first, or errors if one exists already
del
Delete records from the table at path table_path.
get
Retrieve and print records from the given paths.
idx
Create a new index of the data in src, locating the index in dest, or a subdirectory of src by default.
init
Initialize the directory dir as a table with primary key key.
ins
Insert records (from a file or stdin) into the table at table_path, updating all related indices.
log
ls
List the contents of paths
mv
Move xattrs from src to dest
reset
Return the current table to the state it had in the commit with the given uuid commit_uuid
restore
Return files to their state as of the most recent commit.
rm
Remove xattrs from paths.
set
Set xattr values on paths
status
Statuses: same, added, removed, modified
touch
Create a file at path; if part of a table, initialize its xattrs from those inferred from the path.