summary refs log tree commit diff
path: root/prune.sh
blob: af2379e5b92aee3b30131092c386b71c404f0cab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

# Remove symbolic links in ~ to files that no longer exist.

set -o errexit -o nounset -o pipefail

paths=$(find -L ~ -type l -lname "$PWD/*")

for path in $paths; do
  rm $path
  echo $path
done
c?h=1.4&id=7769a4f6e94452719e09b8f0c3a1ecca09b55355&follow=1'>Log a message when stopping a service waiting to restart 1.1June McEnroe 2020-11-10Refactor unveil calls so errors can be reported properlyJune McEnroe 2020-10-27Do not increment signalsJune McEnroe 2020-10-23Only look up group if one is namedJune McEnroe 2020-10-23Remove default defines of RUNDIR, ETCDIRJune McEnroe 2020-10-23Set shell scripts executable in buildJune McEnroe 2020-10-20Humanize milliseconds if interval is less than 1sJune McEnroe 2020-10-20Humanize restart intervalJune McEnroe 2020-08-17Document default catsit.conf location on OpenBSD 1.0June McEnroe 2020-08-17Template catsit script with RUNDIRJune McEnroe 2020-08-17Clean up includesJune McEnroe 2020-08-17Log service uptime in statusJune McEnroe