Skip to content

Instantly share code, notes, and snippets.

@xZero707
Last active September 21, 2021 20:02
Show Gist options
  • Save xZero707/7a3fb3e12e7192c96dbc60d45b3dc91d to your computer and use it in GitHub Desktop.
Save xZero707/7a3fb3e12e7192c96dbc60d45b3dc91d to your computer and use it in GitHub Desktop.
attrs
#!/usr/bin/env sh
OWNERSHIP=${1:-}
CHMOD=${2:-}
TARGET=${3:-}
chown -hR "${OWNERSHIP}" "${TARGET}"
chmod -R "${CHMOD}" "${TARGET}"
@xZero707
Copy link
Author

Update: Development moved to separate repository https://github.com/N0rthernL1ghts/attr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment