Skip to content

Instantly share code, notes, and snippets.

View prakharxagrawal's full-sized avatar
🏠
Working from home

Prakhar Agrawal prakharxagrawal

🏠
Working from home
  • Citi
  • Chennai
View GitHub Profile
@prakharxagrawal
prakharxagrawal / download_all_debug_logs.sh
Created April 28, 2024 16:39 — forked from roko-p/download_all_debug_logs.sh
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