I just did this install, then went to remove and it attempted to remove `/usr/local/bin`
now i'm waiting for the suggestions to use -rf
N=${N:-} # if you use (-u)
$N rm ./whatever
and then you can exercise the script via N=echo ./something-dangerous
but without the N defined it will run it as expected. More nuanced commands (e.g. rsync --delete --dry-run which will provide a lot more detail about what it thinks it is going to do) could be written as `rsync --delete ${N:+--dry-run}` type deal