Last active
June 10, 2025 02:18
-
-
Save h4x0r/b1a2ca1ed60f8b974069410e65f293f1 to your computer and use it in GitHub Desktop.
Pull all .evtx underneath a directory into the current directory, prefixed with the directory name, for multi-host bulk processing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for d in "$@"; do | |
fdfind '.evtx$' $d -x cp {} "$d#{/}“ | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment