[svlug] (forw) [volunteers] Tips :: split - split big files into smaller files

Rick Moen rick at linuxmafia.com
Thu Oct 19 16:55:27 PDT 2006


Passing this along to where it probably was intended to be posted.

----- Forwarded message from Mitul Savani <mitinlinuxworld at yahoo.com> -----

Date: Thu, 19 Oct 2006 08:16:14 +0100 (BST)
From: Mitul Savani <mitinlinuxworld at yahoo.com>
To: volunteers at lists.svlug.org
Subject: [volunteers] Tips :: split - split big files into smaller files

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 
_______________________________________________
volunteers mailing list
volunteers at lists.svlug.org
http://lists.svlug.org/lists/listinfo/volunteers


----- End forwarded message -----




More information about the svlug mailing list