Created
January 27, 2018 03:18
-
-
Save mwleeds/48044d68af5a3f031f5148b362bdb5b4 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 | |
cd | |
for d in /sys/class/drm/*DP*; do | |
tar -czf `basename $d`.tgz $d/edid $d/dpms $d/enabled $d/modes $d/status &>/dev/null | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment