View Single Post
  #5   (View Single Post)  
Old 10th January 2016
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default

Quote:
Originally Posted by J65nko View Post
[*]copy the /var contents to that directory, for example: # rsync -aviH /var/ /Template. Please note that the trailing "/" of /var/ is critical.
You will now have a /Template/var with a clone of /var
I believe you want to leave the trailing '/' off of /var/ in the rsync command, otherwise you just get the contents of /var in the /Template directory, not /var itself as you want.
Reply With Quote