diff backup-desktop @ 0:e85e3470a41e

Initial commit of useful scripts
author IBBoard <dev@ibboard.co.uk>
date Sat, 02 Aug 2014 19:31:02 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/backup-desktop	Sat Aug 02 19:31:02 2014 +0100
@@ -0,0 +1,6 @@
+#! /bin/bash
+
+DISK=/mnt/backup/rsync
+mkdir -p $DISK
+rpm -qa | sort > "$DISK"/installed-packages-`date +%F`.txt
+/usr/local/bin/do-backup $DISK