[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [NOVICE] Problemer med tar fil




Frank Damgaard skriver:
> 
> On Sat, Jul 15, 2000 at 10:55:38 +0200, Per Wagner Nielsen(root) wrote:
> > Frank Damgaard wrote:
> >
> > > MEN jeg bad om "tvf"  !
> >
> > ------------
> > sslug@sslug linux]# ls -l perwn.tar
> > -rwxr-xr-x    1 root     root        10240 Jul 15 08:51 perwn.tar
> > sslug@sslug linux]# tar tvf /mnt/win/linux/perwn.tar
> > sslug@sslug linux]#
> 
> Se sin tar-fil er 10240 bytes stor og indeks (t) viser ingen ting.
> Muligvis er der sket en fejl med filen da den blev lavet.
> Evt. kan du prøve med "--ignore-failed-read" som option til tar .
> 
> Det du har gemt, fyldte det sammenlagt højst 10kByte ?
> 
> Du kan forsøge med "od -x perwn.tar | less" og se indholdet i
> "hexadecimalt" format. (bytes)
> 
> Men mit gæt er at indholdet af filen ikke er tilstede, måske kopieringen
> til DOS/fat gik galt.
> 
> Man bør teste filens indhold efter arkivering/backup
> og det gælder både med tar, zip, arj, dump, cpio, afio osv.
> 
> For tar's vedkommende er en "tar tvf fil.tar" en måde at checkke
> indholdet. Endnu bedre at udpakke et tomt sted så man kan kontrollere
> at det virker.

Du kan også prøve med :
cat [tar-filename] | tar -xvf -

hvor - er STDOUT 
Det vil kunne pakke de fleste koruptede tar filer ud! 

-- 
-
 MVH
   Kim schulz
========================================================================
|                 ADICT Kode Slave - www.adict.net                     |
|            Dansk Linux Link Database - www.LinuXia.dk                |
========================================================================
              Sleep is just a cheap substitute for coffee     
     Fast, reliable, cheap - pick any two - [Microsoft in a Nutshell]


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:59 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *