Re: tar command; reaches end of file

From: Bill Verzal (BVerzal@KOMATSUNA.COM)
Date: Fri Sep 19 2003 - 14:02:48 EDT


Be sure the tar file is not in the directory you are tar-ing. I've seen
that cause problems.
--------------------------------------------------------

Bill Verzal
AIX Administrator, Komatsu America
(847) 970-3726 - direct
(847) 970-4184 - fax

|---------+---------------------------->
| | "Bright, Frank" |
| | <FBright@UARTS.ED|
| | U> |
| | Sent by: IBM AIX |
| | Discussion List |
| | <aix-l@Princeton.|
| | EDU> |
| | |
| | |
| | 09/19/2003 12:21 |
| | PM |
| | Please respond to|
| | IBM AIX |
| | Discussion List |
| | |
|---------+---------------------------->
>-------------------------------------------------------------------------------------------------------------------------------|
  | |
  | To: aix-l@Princeton.EDU |
  | cc: |
  | Subject: tar command; reaches end of file |
>-------------------------------------------------------------------------------------------------------------------------------|

I would like some help with the tar command. I want to tar a directory to
a file and not to tape. I get the error "tar: 0511-194 Reached end-of-file
before expected." The command I use is....

tar -cvf filename.tar -C /dir/sub .

Its a large directory with a total combined filesize over a Gig. Should I
be using the -u or -r command? How would I format this statement?

Thanks

Frank
fbright@uarts.edu

----------------------------------------------------------------------------------------

Frank M. Bright, Jr.
Administrative Computing fbright@uarts.edu
University of the Arts (A15) www.uarts.edu
320 S. Broad St. 215-717-6081(w)
Philadelphia, PA 19102 215-717-6087(f)
Colleague 17.0.14 AIX 4.3.3 .10 Unidata 6.03



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:13 EDT