#!/bin/sh # Simple program that changes ownership to the current # user, recursively. DAISY_INTERNAL=1 . $(dirname $(realpath $0))/daisy.source if [[ $@ == '' ]]; then echo "$DAISY_BIN: Used to quickly take ownership of files/folders." echo "Requires sudo. If sudo is not installed, this tool will fai." echo "Usage: $DAISY_BIN " echo "Means: chown -R : " exit 2 fi sudo chown -R $(whoami):$(whoami) $@