LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-01-2004, 06:08 PM   #1
Vyeperman
Member
 
Registered: Jul 2003
Location: California
Distribution: Gentoo 1.4
Posts: 108

Rep: Reputation: 15
check tar consistency


I did tar cvjpf of my / directory excluding /tmp /proc and /mnt to backup all my data so I can change my partition scale then untar it all and I was wondering how I could check the consistency of the file to be sure it will untar when I have my new partition scheme.
 
Old 05-01-2004, 06:26 PM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
'bzip2 -t foo.tar.bz2'
should check that the file itself is not corrupted in a way to disk.
To see that it contans all the files it should, you can
'tar tvfj foo.tar.bz2'; it also checks for lower lever(bzip2 level) corruption on the fly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 02:48 AM
Advice: consistency in file system permissions tisource Linux - General 1 08-15-2005 06:15 PM
Where is the Consistency ToeShot General 2 11-08-2004 12:09 PM
Checking consistency of journaling filesystems Darktyco Linux - Hardware 5 08-09-2004 08:18 PM
Autochecking filesystem consistency? Darktyco Linux - Software 0 08-08-2004 11:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration