Skip to content

Instantly share code, notes, and snippets.

@roko-p
roko-p / download_all_debug_logs.sh
Created August 15, 2021 13:32
Download all debug logs from a Salesforce org
#!/bin/bash
# This is a script by Thomas Gagné posted here:
# https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A8irTSAR
# but modified to use the `sfdx` CLI tool instead
# of the `force` CLI tool.
# This assumes the user is logged in and the default
# org is set. If you're running this outside of a
# Salesforce DX project folder, just add the username
# (to specify which org to run this against) to both