Backup and entire dir using tar?

Emil Oppeln-Bronikowski opi at cyb3r.org
Thu Jan 20 09:56:49 UTC 2005


Senectus . wrote:
> I want to tar up an entire directory and all the sub dir's in it as by
> keeping all the permissions and structures as is..

  tar cz dir >/tmp/dir.tgz should do the trick.

-- 
  Emil Oppeln-Bronikowski
  http://opi.pegasos.pl http://ubuntulinux.org




More information about the ubuntu-users mailing list