From cd4bc2f776c2d2f28f3ec62744d213bb7dcad209 Mon Sep 17 00:00:00 2001
From: Carl Baldwin <cnb@ball.(none)>
Date: Sat, 22 Oct 2005 20:32:10 -0600
Subject: [PATCH] First cut at top-level script

---
 scripts/drive.sh | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 scripts/drive.sh

diff --git a/scripts/drive.sh b/scripts/drive.sh
new file mode 100644
index 0000000..9b3d02b
--- /dev/null
+++ b/scripts/drive.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+scriptsdir=$(dirname $0)
+bindir="$scriptsdir/../build"
+
+datadir="/var/lib/backups"
+tmpdir="/var/tmp"
+
+export PATH=$scriptsdir:$bindir:$PATH
+
+files=$tmpdir/files.db
+touch $files
+chmod 700 $files
+find-cmd.sh /home > $files
+
+backups=$tmpdir/backup-list.db
+statusfile=$tmpdir/backup-status.txt
+
+cat $files | lsbackups > $backups 2>$statusfile
-- 
2.34.1