Re: backup and hidden files in tar

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

 



Tar gets hidden files for me:

$ mkdir foobar
$ touch foobar/.foo
$ tar cvf foobar.tar foobar
foobar/
foobar/.foo


On Thu, 2004-07-22 at 18:47 +0200, J.L. Coenders wrote:
> That doesn't work for my hidden files... and I've read man tar, but it doesnt 
> tell me anything on this.
> - Jeroen
> 
> On Thursday 22 July 2004 06:26 pm, Bruno Santos wrote:
> > Bruno Santos wrote:
> > > J.L. Coenders wrote:
> > >> Hi,
> > >> How do I include backup and hidden files in my tar archives? I want a
> > >> complete backup of my home directory, including all settings.
> > >>
> > >> Thanks,
> > >> - Jeroen
> > >
> > > Try man tar
> >
> > Or, try tar -zcvf destination_file.tar.gz (not in the same directory, or
> > will enter in a loop) /home/files_to_backup
> >
> > cheers
> >
> > --
> > bvsantos@xxxxxxxxxxxxxxxx
> > --
> > Divisao de Informatica
> > informatica@xxxxxxxxxxxxxxxx
> > Tel: +351 272 000 155
> > Fax: +351 272 000 257
> >
> > --
> > Hospital Amato Lusitano
> > Av. Pedro Alvares Cabral
> > 6000-085 Castelo Branco
> > geral@xxxxxxxxxxxxxxxx
> > Tel: +351 272 000 272
> > Fax: +351 272 000 257
> 
> 



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux