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:
parent
000412c0cf
commit
3ad89de82c
1 changed files with 5 additions and 0 deletions
|
@ -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 $@
|
||||
|
|
Loading…
Reference in a new issue