Skip to content

hardis:org:files:export

Description

Export file attachments from a Salesforce org

See article below

How to mass download notes and attachments files from a Salesforce org

Parameters

Name Type Description Default Required Options
apiversion option override the api version used for api requests made by this command
chunksize
-c
option Number of records to add in a chunk before it is processed 1000
debug
-d
boolean Activate debug mode (more logs)
json boolean format output as json
loglevel option logging level for this command invocation warn trace
debug
info
warn
error
fatal
path
-p
option Path to the file export project
polltimeout
-t
option Timeout in MS for Bulk API calls 300000
skipauth boolean Skip authentication check when a default username is required
startchunknumber
-s
option Chunk number to start from
targetusername
-u
option username or alias for the target org; overrides default target org
websocket option Websocket host:port for VsCode SFDX Hardis UI integration

Examples

$ sfdx hardis:org:files:export