sndev.io / docs

download

Download attachments from a record.

The 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.

Arguments

NameRequiredDescription
tableYesThe table containing the record.
sys_idYessys_id of the record.

Flags

FlagDefaultDescription
--dir <path>.Directory to save files into.

Examples

sn download incident abc123 --dir ./downloads
Downloading 2 attachments from incident abc123...
✓ screenshot.png 142 KB
✓ error.log 8 KB
Saved to ./downloads