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

Re: backingup /home/foo/.* files



On Fri, Dec 22, 2000 at 11:17:06PM -0800, Brian Frederick Kimball wrote:
> Please wrap your text.
(my apologies...it's on my list of projects.  i use vi.  the posts i see for this issue seem to be for vim.  (anyone know how to line wrap in _vi_?)) 
> 
> q wrote:
> 
> > [...] i've become interested in backing up my /home/foo directory (by:
> > tar cvzf <backup_file_name>.tar.gz *).
> >
> > i've noticed that such backup does not include my /home/foo/.*
> > (hidden) files, like .muttrc....
> 
> $ man bash
> [...]
> When a pattern is used for pathname expansion, the character ``.'' at
> the start of a name or immediately following a slash must be matched
> explicitly,
> [...]
> 
> Try "echo *" to see this in action-- it won't list your . files.
> 
> Try this to create a complete archive of your home directory:
> 
> $ tar cvzf backup.tar.gz /home/foo

ah, yes...works, like a charm.  thx.
> 
> Finally, if you're kernel is panic-ing a lot, try mounting all your
> filesystems with the "sync" option to reduce the severity of the fs
> corruption.
>
i'll get on this later today.  thx, again for the info.

bentley taylor.

//
 



Reply to: