mfoley
07-22-2007, 01:41 PM
Here is what I'm running into.
I'm using CYGWIN to tar a file. This is the command I use
tar -czf phpbb2_plus.tar.gz phpbb2_plus/
I've also tried to do:
tar -czf phpbb2_plus.gz phpbb2_plus
The difference being I'm not terribly certain how the extension plays into this. I was simply blindly following a suggestion I found in another forum re: ".tar.gz". In either case, the file is created without any known errors.
I then use WINSCP to transfer the file.
I then shell in via SSH and attempt to execute the following command
tar -xvf phpbb2_plus.gz phpbb2/
This is the error I get:
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: phpbb2: Not found in archive
tar: Error exit delayed from previous errors
I've also tried:
tar -xvf phpbb2_plus.gz .
...thinking that it would extract starting from the current directory.
There's a high likelihood...a certainty really, that I'm not a) creating the TAR correctly or b) extracting it correctly or c) both.
Any advice or pointers?
Cheers,
MWF
I'm using CYGWIN to tar a file. This is the command I use
tar -czf phpbb2_plus.tar.gz phpbb2_plus/
I've also tried to do:
tar -czf phpbb2_plus.gz phpbb2_plus
The difference being I'm not terribly certain how the extension plays into this. I was simply blindly following a suggestion I found in another forum re: ".tar.gz". In either case, the file is created without any known errors.
I then use WINSCP to transfer the file.
I then shell in via SSH and attempt to execute the following command
tar -xvf phpbb2_plus.gz phpbb2/
This is the error I get:
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: phpbb2: Not found in archive
tar: Error exit delayed from previous errors
I've also tried:
tar -xvf phpbb2_plus.gz .
...thinking that it would extract starting from the current directory.
There's a high likelihood...a certainty really, that I'm not a) creating the TAR correctly or b) extracting it correctly or c) both.
Any advice or pointers?
Cheers,
MWF