[xubuntu-users] mousepad wiped out file content when font change tried
Juan R. de Silva
juan.r.d.silva at gmail.com
Tue Jul 15 03:08:30 UTC 2014
> I know little about it, but until somebody gives you more information,
> if I were you I wouldn't write anything to that disk.
The disk is reported perfectly wealthy by smartmontools. I have a
multiboot with Ubuntu 14.04 and Debian Wheezy on this laptop. In neither
of them anything similar has ever happened.
> I have a script called "bupsky" that backs up the current tree. I run it
> about every hour, plus every time I hit a milestone, when I'm hot on a
> project. Here it is:
>
> =================================================
> #!/bin/bash
>
> buptrunk=/scratch/bup curdir=$(pwd | sed -e "s/.*\///")
> bupdir=$buptrunk/$curdir now=$(date +%Y%m%d_%H_%M_%S)
> src=../$curdir dst=$bupdir/${curdir}_$now
>
> if test ! -d $bupdir; then
> mkdir $bupdir
> fi
>
> cp -Rp $src $dst
>
> echo backup written to $dst
> =================================================
>
> Since I started using bupsky, I never lose more than a half hour on a
> hot project.
Thanks for the script. After the first experience of the kind I think I'd
better give it a try.
More information about the xubuntu-users
mailing list