Re: [SLUG] moving /home and preserving attributes (mode, group owner etc...)

From: Ian Blenke (icblenke@nks.net)
Date: Wed Jun 23 2004 - 11:53:23 EDT


Patrick Grantham wrote:

>Thanks. Going a step further, how can I exclude hidden files and those
>files/folders that begin with "."?
>
>
Use the --exclude flag to rsync. For more info, look at the --exclude
option for tar.

    rsync -SHPaxv --exclude '\.*' otherserver:/remote/path/ /local/path/

- Ian

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:09:36 EDT