#!/bin/bash for f in hourly daily weekly monthly; do sudo cp btrfs-snapshots.sh /etc/cron.$f/btrfs-snapshots; done if ! test -e /etc/btrfs-snapshots.conf; then cat > /etc/btrfs-snapshots.conf <