2008年12月23日星期二

Unix.Power.Tools:20. Backing Up Files

find /usr −newer /usr/FirstFile −print

尽量不要在tar的时候用绝对路径,或者使用-C选项。

tar c −C /home/mike ./docs  −C /home/susan ./test

将/home/mike目录备份为docs,/home/susan备份为test。

没有评论:

发表评论