Skip to content

Instantly share code, notes, and snippets.

@wcomnisky
Last active January 12, 2017 23:27
Show Gist options
  • Save wcomnisky/d96d18856266cbf13139a6d16682472f to your computer and use it in GitHub Desktop.
Save wcomnisky/d96d18856266cbf13139a6d16682472f to your computer and use it in GitHub Desktop.
Find all the post-receive hook files sorted by last modification time
#!/bin/bash
find ./ -type f -iname post-receive -printf '%TY%Tm%Td %h/%f\n'|sort -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment