Created
January 8, 2020 13:59
-
-
Save kdrwygvh/a6ca2c62c56aed542612d2bc9800bdc9 to your computer and use it in GitHub Desktop.
Storage Medium
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 | |
echo "<result>$(system_profiler SPStorageDataType | awk '/Medium Type/ {print $3}' | head -1)</result>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment