download command saves all attachments from a record to a local directory. Use --dir to specify where files are written (defaults to current directory).Download attachments from a record.
download command saves all attachments from a record to a local directory. Use --dir to specify where files are written (defaults to current directory).sn download <table> <sys_id> [--dir <path>] Download attachments from a record.
| Name | Required | Description |
|---|---|---|
| table | Yes | The table containing the record. |
| sys_id | Yes | sys_id of the record. |
| Flag | Default | Description |
|---|---|---|
| --dir <path> | . | Directory to save files into. |
sn download incident abc123 --dir ./downloads