Last active
June 20, 2022 16:20
-
-
Save msavy/fe9e0e7fc1e1eec3ce55c1ee1678e2aa to your computer and use it in GitHub Desktop.
This file contains 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/bash | |
for PODNAME in podnam1 podname2 podname3 | |
do | |
echo mkdir "$PODNAME" | |
echo oc rsync --include='trace.pacp*' --exclude="*" $PODNAME:/opt/jboss/ "$PODNAME/" | |
echo oc rsync $PODNAME:/tmp/tcpdump-tls-secrets.log "$PODNAME/" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment