Add function to fix permissions from USB stick

Mac kills permissions. Restore something more sane (but still wrong)
with this.
This commit is contained in:
Andrew Tomaka 2018-07-06 16:34:59 -04:00
parent 000412c0cf
commit 3ad89de82c
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -7,6 +7,11 @@ function aws-profile {
fi
}
function fix-permissions {
find . -type d -print0 | xargs -0 chmod 0755
find . -type f -print0 | xargs -0 chmod 0644
}
function g {
if [[ $# > 0 ]]; then
git $@