From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,868e4284a547dd87,start X-Google-Attributes: gidfee84,public From: robinson@dsto.defence.gov.au (Greg Robinson) Subject: Re: tar on DEC UNIX Date: 1995/10/19 Message-ID: <464ngm$2f0@fang.dsto.defence.gov.au>#1/1 X-Deja-AN: 117979128 references: <45uhvk$kua@apakabar.cc.columbia.edu> organization: Defence Science & Technology Organisation newsgroups: comp.unix.osf.osf1 Wentian Li (wl101@ciao.cc.columbia.edu) wrote: : : here is a strange thing happens to the "tar" : command on DEC UNIX: : : i tar (tar cvf) a directory on a DEC UNIX machine (DEC : OSF/1 v.3.2) and want to un-tar (tar xvf ) it on a SunOS : (v 4.1.1) machine. but i couldn't. : : suppose the name of the subdirectory is /sub, : and there is a file there called file1, then : the error message is somthing like this: : : tar: couldn't create /sub/file1 Not a directory : : a file with zero-size called sub is created instead! : : is there a difference between the DEC UNIX tar and : SunOS tar? how can i get around this problem? : thanks for any suggestions! Yes, there is a difference. not sure exactly what. Try making the /sub directory first. Then doing the extract. Greg. -- Work: robinson@dsto.defence.gov.au Home: greg@arrakis.apana.org.au