[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: backup all the changes I made to the "virgin debian system"



Thanks Brian for the CVS tips.  But even if I were to go that route I
must still locate all the files except for in /home that I have
changed from the virgin debian system.

One interesting was is to check my .emacs ".backups", as I use
backup-dir.el, then use, you know,

#oh, this would miss them if there was only one copy, say from not
#using emacs and using ed instead
set -eu
o=/d/a_debian_dumb_root_backup$$
ls /{usr,root,etc,var}/.backups|
sed '/^\//d;s#\(.*\)!!!\(.*\)!\.~[0-9]\+~$#/\2/\1#;s#!#/#g;/\//!d'|uniq|
while read f;do test -f $f && echo $f; done|
cpio -o > $o &&
bzip2 $o

but I was thinking there might be a way say using checksums/dates from the
dpkg catalog of the files that were installed originally or something.  
-- 
http://jidanni.org/ Taiwan(04)25854780


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: