January 22, 2012 12:54 PM
Password Keepers
Another password keeper is "KeePassX" at http://www.keepassx.org/ which I’ve used previously but it doesn’t seem so intuitive as Revelation. One thing in its favour though is that it docks into the system tray which Revelation doesn't.
January 21, 2012 9:45 PM
GNOME control center
Using this method I've entered ;- kwikdisc, gdesklets, and gkrellm.
January 16, 2012 6:17 AM
Tweaks.
tar cvzf 20120115.tar.gz 20120115
which is very effective and quite quick too.
to log the output use the following command;-
tar cvzf 20120116.tar.gz 20120116 >> /home/boztu/cron/log.txt 2>&1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
to rename an external usb hard drive from
/media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ to /media/backup
sudo umount /dev/sdb1
sudo e2label /dev/sdb1 backup
# disable the entry in fstab
sudo emacs /etc/fstab
unplug the drive
plug the drive back in
and lo and behold, its mounted as /media/backup and available for
backups again. with a much simpler, and more memorable name.
January 10, 2012 7:11 PM
Creating space
ls -l /media [#to check that it is root:boztu]This will erase all the August entries, thereby creating more space.
sudo /home/boztu/cron/permissions.sh [#to make it root:boztu if not already so]
cd /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_
rm -rf ????08??
January 04, 2012 9:32 AM
rync and USB - part 3
USB_DIR="/media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_"As can be seen there is just one script and one target drive, which makes it very simple to maintain, and requires very little maintenance too.
BACKUP_DIR="$USB_DIR/$(/bin/date +%Y%m%d)"
if [ -d $USB_DIR ]; then
[ -d $BACKUP_DIR ] || mkdir $BACKUP_DIR \
>> /home/boztu/cron/backup.txt 2>&1
/usr/bin/rsync -avz \
--exclude-from '/home/boztu/cron/xclude.txt' \
/home/boztu/ $BACKUP_DIR \
>> /home/boztu/cron/backup.txt 2>&1
fi
But it now uses an external 'exclude' script, which contains the following;-
*.mp2But there is a problem with the external usb hard drive in that it reverts its permissions to "root:root" at odd intervals, for some unknown reason. My solution to this is to run this "permissions" script at 2355 every night, just before the backup starts which changes the permissions to "root:boztu".
*.ogg
*.part
*.avi
*.rar
*.mkv
*.mp3
*.mp4
*.wmv
*.nfo
*.deb
chown root:boztu /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_
chmod 775 /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_