Re: [Hampshire] rsync question

Top Page

Reply to this message
Author: Dominic Cleal
Date:  
To: hampshire
Subject: Re: [Hampshire] rsync question
On Thu, 30 Aug 2007 22:30:56 +0100, Tim wrote:
> If I was using rsync to backup my home directory is it possible to do
> a backup and exclude all the hidden files and folders in my home
> directory but backup everything else?
>
> [snip]
>
> I have googled but have not seen any option for rsync that excludes
> hidden files, could it be done using the file exclude option??


I'd have thought just --exclude="/.*" would do the job. The initial
forward slash will lock it to the root of the transfer.

--
Dominic Cleal
dominic@???