一个不错的工具 svk备份 etc并带有版本管理功能

http://lists.debian.org/debian-devel/2005/02/msg00495.html

Hello,

a tip to share:

# Install svk
apt-get install svk

# Initialize a depot in /root/.svk
svk depotmap --init

# Import /etc making it a working copy
svk import --to-checkout //etc /etc

# Make your depot not that readable
chmod -R go-rwx ~/.svk

# Remove volatile files from revision control
cd /etc
svk rm -K adjtime ld.so.cache

...and voilà, you have /etc/ under revision control, without CVS or .svn
or {arch} files around. The syntax of svk is just like the syntax of
svn, of which it's a distributed extension.


And a question: where do we collect this kind of tips?

你可能感兴趣的:(#debian)