Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


timmmay

20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

#179353 5-Sep-2015 09:19
Send private message

I used tar to create a tar and gzipped file on Linux. I then FTP'd it to another Linux server, which turned it into two files

file.tar.gz
file.tar.gz.1

I assume the FTP program split it out. I've copied both files to my PC now, and I'd like to reconstitute it. How do I do that? My Google-fu has failed me. Both files can be decompressed individually but there seems to be some duplicates, which is odd.

Alternately I could put it back together on unix then download again, but since it's 4GB I'd rather as I'm near my cap.

Create new topic
kama
30 posts

Geek
+1 received by user: 1


  #1380143 5-Sep-2015 10:19
Send private message

Start with comparing file sizes. Check they add up. Use tar -ztf to list archive contents. To combine files: cat file1 file2 > file3. Also, verify integrity with md5sum file1 or sha256sum, done on each end of the network. If they match you're good.



timmmay

20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #1380157 5-Sep-2015 10:48
Send private message

cat worked - thanks :)

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.