diff --git a/.local/bin/scripts/own b/.local/bin/scripts/own index 7077584..25753d1 100755 --- a/.local/bin/scripts/own +++ b/.local/bin/scripts/own @@ -1,3 +1,3 @@ #!/bin/sh -# Take ownership of the given files recursively -sudo chown -R --preserve-root $USER:$USER "$@" +# Recursively take ownership of the given files or the current directory +sudo chown -R --preserve-root $USER:$USER "${@:-.}" diff --git a/.local/bin/scripts/rgain b/.local/bin/scripts/rgain new file mode 100755 index 0000000..c9e667e --- /dev/null +++ b/.local/bin/scripts/rgain @@ -0,0 +1,3 @@ +#!/bin/sh +# Recursively add replaygain to the given files or from the current directory +r128gain -r --preserve-times 1 "${@:-.}"