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

From: Patrick Grantham (pwgrant@cssi-fl.com)
Date: Wed Jun 23 2004 - 14:42:44 EDT


thanks. Where should I send the pizza.

-----Original Message-----
From: slug@nks.net [mailto:slug@nks.net]On Behalf Of Ian Blenke
Sent: Wednesday, June 23, 2004 11:53 AM
To: slug@nks.net
Subject: Re: [SLUG] moving /home and preserving attributes (mode, group
owner etc...)

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 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:10:03 EDT