The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
diff on compressed files with tar.gz ext rakeshou UNIX for Dummies Questions & Answers 7 09-20-2007 02:27 PM
Line count for compressed files swamy455 Shell Programming and Scripting 1 08-02-2007 10:40 PM
delete compressed files from year 2005 igidttam UNIX for Dummies Questions & Answers 5 03-23-2007 04:42 PM
Best practice for bulk multi-part mail begin23 UNIX for Dummies Questions & Answers 0 12-22-2006 02:47 PM
import compressed files using pipe pengwyn UNIX for Dummies Questions & Answers 0 07-19-2005 02:57 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-06-2008
gffb gffb is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 4
multi part compressed files

Hi there,
not sure if I am in the right place but here is my question.

I have a file that is over 100mb and my host does not allow FTP of files above 100mb so I thought I would use a compression utility to compress it into smaller parts say 10mb each, upload them and then re-assemble them on the server back in to the 1 large file.

So first off what is the best or easiest software to create multi part compressed files, and what format should I use.

Second is how do I re-assemble the files once they are on my server, I do have SSH access if this helps.

My host says it is UNIX based.
  #2 (permalink)  
Old 02-06-2008
MarkaRagnos17 MarkaRagnos17 is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 1
Lightbulb

1.- You can use the split command
split -b Number [ k | m ] [ -a SuffixLength ] [ File [ Prefix ] ]

split -b 1000 k Filename-to-be-cut

then you get "N" Files with name xa[a-z] with 1MB
2.- You send all files it using FTP.

3.- Then you can use the cat command
cat xaa xab xac ... ... ... > Filename-to-be-joined
  #3 (permalink)  
Old 02-06-2008
HPAVC's Avatar
HPAVC HPAVC is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 106
check and see if you have unzip or unrar on the unix machine, if you have either then you can use the windows counterparts (sounds like your using windows) to create multipart archives of your files or file.

So in Winrar this is 'create new archive + split to volume bytes [25mb]' and it will make as many 25mb pieces has needed and then you can 'unrar x filename.rar' and it will deal with the files just fine.

Most files have a similar split/combine method. Though using this method will give you the assurance with checksums and what not that everyone is as it should be.
  #4 (permalink)  
Old 02-06-2008
gffb gffb is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 4
I have unzip on the server so used winzip to create multi part files, uploaded to server, logged in and used command.....

unzip filename.zip

the following was received....


[****.net@*****]$ unzip robbie.zip
Archive: robbie.zip
warning [robbie.zip]: zipfile claims to be last disk of a multi-part archive;
attempting to process anyway, assuming all parts have been concatenated
together in order. Expect "errors" and warnings...true multi-part support
doesn't exist yet (coming soon).
file #1: bad zipfile offset (local header sig): 4
[***.net@****]$

I made this archive on my windows xp machine and then uploaded to my host which I am sure in unix/linux, will it be easier or better using another format rather than zip/rar as I dont seem to be having any luck with this?

Last edited by gffb; 02-06-2008 at 06:31 PM.. Reason: spelling
  #5 (permalink)  
Old 02-08-2008
gffb gffb is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 4
Any help on this?
  #6 (permalink)  
Old 02-11-2008
denn denn is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 96
See following thread on fsplit:
Split files using Csplit
Closed Thread

Bookmarks

Tags
linux, linux mandrake, solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:11 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0