Skip to content

Instantly share code, notes, and snippets.

@ramiwds
ramiwds / gethooks
Created April 21, 2023 13:38 — forked from ramiabraham/gethooks
Copy all actions and filters in a plugin and save to a file.
#!/bin/bash
#
# Prints all hooks in a dir to a .log file.
#
# Permissions issues:
# run: chmod +x gethooks
#
# gist: https://gist.github.com/ramiabraham/e8356e00130351ddcbe2c62125e6c52a
#
# Easy usage: