200426.5 · 481b64a667e8d9aca522a0455a00f32dac1f4977
initial commit of ~/bin
This brings over everything that was in my bin-only repository.
I removed scripts that were unused or were no longer understood. I also moved any work-specific scripts to a separate (private) repository.
reading declarations
Changes to bin/fix-perms. All files
@@ -0,0 +1,13 @@+#!/bin/sh++if [ "$1" = group ]; then+ find ./ -type f -print0 | xargs -0 chown $USER:users+ find ./ -type f -print0 | xargs -0 chmod 664+ find ./ -type d -print0 | xargs -0 chown $USER:users+ find ./ -type d -print0 | xargs -0 chmod 775+else+ find ./ -type f -print0 | xargs -0 chown $USER:users+ find ./ -type f -print0 | xargs -0 chmod 644+ find ./ -type d -print0 | xargs -0 chown $USER:users+ find ./ -type d -print0 | xargs -0 chmod 755+fi