Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 19-07-2006, 06:04 PM   #1 (permalink)
Broken In
 
Join Date: Jun 2005
Posts: 127
Default File splitting in Linux


Any utilities for splitting files in linux?
vinayasurya is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 19-07-2006, 07:39 PM   #2 (permalink)
Wise Old Owl
 
JGuru's Avatar
 
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
Default Re: File splitting in Linux

Open the Terminal Window & type:
$ split --help
By default it splits every 1000 lines. You can use the '-l' option and try other options.
Choose one which suits your needs.

Similarly for joining files use the 'cat' command, for eg.,
$ cat Sample1.txt Examples.txt Codes.txt >> AllJoined.txt

Now open the file called 'Alljoined.txt' , it will contain the contents of all the three files
Sample1.txt, Examples.txt, Codes.txt!!

Last edited by JGuru; 20-07-2006 at 12:18 AM.
JGuru is offline  
Old 20-07-2006, 09:29 PM   #3 (permalink)
Broken In
 
Join Date: Jun 2005
Posts: 127
Default Re: File splitting in Linux

I want to split large images like iso especially dvd images so i can carry in one or more cds. does this utilities works for them, especially for large files.
vinayasurya is offline  
Old 20-07-2006, 09:44 PM   #4 (permalink)
Wise Old Owl
 
JGuru's Avatar
 
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
Default Re: File splitting in Linux

Yes, ofcourse it will work with any file format. If you want to split a large ISO image (DVD)
format, then calculate how many lines it contains. Suppose there are N number of
lines and you want to split the file into 3 files (ie., N/3). Then you have to specify the
value of N in the options. For eg.,
split --lines=6000
There are very good file splitting & joining software available for Windows.
Try 'File Splitter Deluxe' for splitting & joining large files.
Get it from here: http://www.softdd.com/filesplt/index.htm
You better use the above software. If you use Linux tools, then you must be thorough with it.
It's not recomended for beginners to use these command-line tools.

Last edited by JGuru; 20-07-2006 at 09:47 PM.
JGuru is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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


 
Latest Threads
- by Charan
- by Charan

Advertisement




All times are GMT +5.5. The time now is 05:04 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2