dotfiles/.local/bin/scripts/own

4 lines
135 B
Plaintext
Raw Normal View History

#!/bin/sh
# Recursively take ownership of the given files or the current directory
sudo chown -R --preserve-root $USER:$USER "${@:-.}"