[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Rsync, how to include ~/.files but not ~/.dirs



On Thu, Jan 25, 2007 at 04:16:14AM +0000, ][ wrote:
> On Wed, 24 Jan 2007 23:07:43 -0500, Roberto C. Sanchez wrote:
> 
> >> Is there any way to tell rsync to backup all the . files under my home but
> >> no any . directories? E.g., .profile in, but .gconf/ & .gnome/ etc out?
> >> 
> > Don't use the recursive option?
> 
> unfortunately that's not an option. I have to use it. The OP is for
> illustration purpose only.
> 
OK.  Then why don't show us what the directory listing (or one like it)
looks like for what you want to back up?  You simply said you wanted the
dot-files but not the dot-dirs.  My suggestion meets your requirements
:-)

Regards,

-Roberto

-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com

Attachment: signature.asc
Description: Digital signature


Reply to: