Skip to content

Instantly share code, notes, and snippets.



Last active Jan 17, 2019
What would you like to do?
Bash command to copy permissions from a file to other(s).
chmod $( stat -f '%p' "$1" ) "${@:2}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment