all repos — kyanite @ 0c0fe416449bb3a05f6ee9c28cd1f48bd3ac53ba

streamlined, composable rsync wrapper for organized incremental backups of local or remote data

install.sh (raw)

1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

if [ $(whoami) != "root" ]; then
  mkdir -p ~/bin/
  cp kyanite.sh ~/bin/kyanite
  echo "kyanite has been installed to '${HOME}/bin/';"
  echo "You may want to add it to your PATH."
else
  cp kyanite.sh /usr/bin/kyanite
  echo "kyanite has been installed to '/usr/bin/';"
fi