Last active
September 29, 2021 18:58
-
-
Save hbt/df55c485fd9fb37447e7a0e0741623e2 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
#!/usr/bin/env bash | |
set -euo pipefail bash | |
for entry in "/home"/*pixeldev.com | |
do | |
cd $entry | |
username=$(stat -c "%U" .) | |
chown $username:psacln -R .ssh | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment