[volunteers] Tips :: split - split big files into smaller files

Mitul Savani mitinlinuxworld at yahoo.com
Thu Oct 19 00:16:14 PDT 2006


While searching about spliting large file in smaller files I have found below mentioned command:
  
  Syntax:
  
  root :~# split -b 2000 FILENAME
  
  split is the command
  -b stands for bytes
  
  2000b is nearly 2mb (you can change this to whatever you want too for size)
  FILENAME is the filename of file you want to split.
  
  Now, to get that many pieces BACK together again with the CAT command:
  
  put all the "pieces" into one directory and then run the command
  
  root :~# cat * > NEWFILE
  
  Thanks,
  
  

Emerging forums for Linux Web Admin / Linux web Hosting – http://forums.linuxwebadmin.info/
The visionary conceives the impossible, The missionary makes it possible. ...Gita.
 Send instant messages to your online friends http://uk.messenger.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.svlug.org/archives/volunteers/attachments/20061019/8cdc8ef1/attachment.htm


More information about the volunteers mailing list