With the help of tar, you can easily do the trick like this:
rsync should be able to do similar things, but you need to take care of the special parameters that used by it.Code:tar clf - / --exclude=/home/* --exclude=/sys/* --exclude=/proc/* | tar xf - -C /newpath


LinkBack URL
About LinkBacks




Reply With Quote
