|
| 1 | ++++ |
| 2 | +title = "carve" |
| 3 | +date = 2024-11-04T12:21:37+01:00 |
| 4 | +weight = 8 |
| 5 | +pre = "" |
| 6 | ++++ |
| 7 | + |
| 8 | +### Carve |
| 9 | + |
| 10 | +```properties |
| 11 | +$ ./osctrl-cli carve -h |
| 12 | +NAME: |
| 13 | + osctrl-cli carve - Commands for file carves |
| 14 | + |
| 15 | +USAGE: |
| 16 | + osctrl-cli carve command [command options] [arguments...] |
| 17 | + |
| 18 | +COMMANDS: |
| 19 | + complete, c Mark an file carve query as completed |
| 20 | + delete, d Mark a file carve query as deleted |
| 21 | + expire, e Mark a file carve query as expired |
| 22 | + run, r Start a new carve for a file or a directory |
| 23 | + list, l List file carves |
| 24 | + list-queries, l List file carves queries |
| 25 | + help, h Shows a list of commands or help for one command |
| 26 | + |
| 27 | +OPTIONS: |
| 28 | + --help, -h show help |
| 29 | +``` |
| 30 | + |
| 31 | +#### Complete carve |
| 32 | + |
| 33 | +```properties |
| 34 | +$ ./osctrl-cli carve complete -h |
| 35 | +NAME: |
| 36 | + osctrl-cli carve complete - Mark an file carve query as completed |
| 37 | + |
| 38 | +USAGE: |
| 39 | + osctrl-cli carve complete [command options] [arguments...] |
| 40 | + |
| 41 | +OPTIONS: |
| 42 | + --name value, -n value Carve name to be completed |
| 43 | + --env value, -e value Environment to be used |
| 44 | + --help, -h show help |
| 45 | +``` |
| 46 | + |
| 47 | +#### Delete carve |
| 48 | + |
| 49 | +```properties |
| 50 | +$ ./osctrl-cli carve delete -h |
| 51 | +NAME: |
| 52 | + osctrl-cli carve delete - Mark a file carve query as deleted |
| 53 | + |
| 54 | +USAGE: |
| 55 | + osctrl-cli carve delete [command options] [arguments...] |
| 56 | + |
| 57 | +OPTIONS: |
| 58 | + --name value, -n value Carve name to be deleted |
| 59 | + --env value, -e value Environment to be used |
| 60 | + --help, -h show help |
| 61 | +``` |
| 62 | + |
| 63 | +#### Expire carve |
| 64 | + |
| 65 | +```properties |
| 66 | +$ ./osctrl-cli carve expire -h |
| 67 | +NAME: |
| 68 | + osctrl-cli carve expire - Mark a file carve query as expired |
| 69 | + |
| 70 | +USAGE: |
| 71 | + osctrl-cli carve expire [command options] [arguments...] |
| 72 | + |
| 73 | +OPTIONS: |
| 74 | + --name value, -n value Carve name to be expired |
| 75 | + --env value, -e value Environment to be used |
| 76 | + --help, -h show help |
| 77 | +``` |
| 78 | + |
| 79 | +#### Run carve |
| 80 | + |
| 81 | +```properties |
| 82 | +$ ./osctrl-cli carve run -h |
| 83 | +NAME: |
| 84 | + osctrl-cli carve run - Start a new carve for a file or a directory |
| 85 | + |
| 86 | +USAGE: |
| 87 | + osctrl-cli carve run [command options] [arguments...] |
| 88 | + |
| 89 | +OPTIONS: |
| 90 | + --path value, -p value File or directory path to be carved |
| 91 | + --env value, -e value Environment to be used |
| 92 | + --uuid value, -u value Node UUID to be used |
| 93 | + --expiration value, -E value Expiration in hours (0 for no expiration) (default: 6) |
| 94 | + --help, -h show help |
| 95 | +``` |
| 96 | + |
| 97 | +#### List carves |
| 98 | + |
| 99 | +```properties |
| 100 | +$ ./osctrl-cli carve list -h |
| 101 | +NAME: |
| 102 | + osctrl-cli carve list - List file carves |
| 103 | + |
| 104 | +USAGE: |
| 105 | + osctrl-cli carve list [command options] [arguments...] |
| 106 | + |
| 107 | +OPTIONS: |
| 108 | + --env value, -e value Environment to be used |
| 109 | + --help, -h show help |
| 110 | +``` |
| 111 | + |
| 112 | +#### List carve queries |
| 113 | + |
| 114 | +```properties |
| 115 | +$ ./osctrl-cli carve list-queries -h |
| 116 | +NAME: |
| 117 | + osctrl-cli carve list-queries - List file carves queries |
| 118 | + |
| 119 | +USAGE: |
| 120 | + osctrl-cli carve list-queries [command options] [arguments...] |
| 121 | + |
| 122 | +OPTIONS: |
| 123 | + --all, -A Show all file carves queries (default: false) |
| 124 | + --active, -a Show active file carves queries (default: false) |
| 125 | + --completed, -c Show completed file carves queries (default: false) |
| 126 | + --expired, -E Show expired file carves queries (default: false) |
| 127 | + --deleted, -d Show deleted file carves queries (default: false) |
| 128 | + --env value, -e value Environment to be used |
| 129 | + --help, -h show help |
| 130 | +``` |
0 commit comments