splitting a zip file | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


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 !!

splitting a zip file

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 08-20-2009
pxy2d1 pxy2d1 is offline
Registered User
 
Join Date: Aug 2008
Last Activity: 12 August 2010, 8:16 AM EDT
Posts: 34
Thanks: 1
Thanked 0 Times in 0 Posts
splitting a zip file

Hi all,

I have a zip file of around 20GB that I am transferring via ftp.

One transfer of the file has already failed after around 15GB had been sent and I have now started the transfer again.

I was wondering if there was a utility available to split the zip file so that I could send it in smaller chunks, meaning if I have a transfer fail at any time I dont lose as much time.

I am on solaris 10 and any suggestions/advice would be appreciated.

Thanks
Sponsored Links
    #2  
Old 08-20-2009
Leppie's Avatar
Leppie Leppie is offline
Registered User
 
Join Date: Aug 2009
Last Activity: 25 February 2010, 9:31 AM EST
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
you can use the split command:

Code:
#split –bytes=1m /path/to/large/file /path/to/output/file/prefix

change the 1m into the desired filesize.

to recompone:

Code:
#cat prefix* > NEWFILENAME

Sponsored Links
    #3  
Old 08-20-2009
McGuywer McGuywer is offline
Registered User
 
Join Date: Aug 2009
Last Activity: 20 April 2010, 6:39 AM EDT
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Thanx, that's a handy command.
    #4  
Old 08-24-2009
pxy2d1 pxy2d1 is offline
Registered User
 
Join Date: Aug 2008
Last Activity: 12 August 2010, 8:16 AM EDT
Posts: 34
Thanks: 1
Thanked 0 Times in 0 Posts
Thanks alot, worked great
Sponsored Links
    #5  
Old 08-24-2009
Leppie's Avatar
Leppie Leppie is offline
Registered User
 
Join Date: Aug 2009
Last Activity: 25 February 2010, 9:31 AM EST
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
you're welcome
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
[Splitting file] Extracting group of segments from one file to others ozgurgul Shell Programming and Scripting 1 09-14-2006 12:17 PM
splitting file rkl1 UNIX for Dummies Questions & Answers 3 11-30-2005 02:39 PM
File splitting praveen.pinto UNIX for Dummies Questions & Answers 9 02-10-2005 03:32 PM
file splitting praveen.pinto UNIX for Advanced & Expert Users 2 02-10-2005 08:54 AM
file splitting rintingtong Shell Programming and Scripting 1 04-16-2004 02:09 PM



All times are GMT -4. The time now is 10:29 PM.