09-29-2011
just unix system. I use cut command to create the small pieces sucessfully one by one. Just want to know if there is a easy way I can create all the small pieces at once. Thanks.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I want to split a file that has 'n' number of records into 16 small files.
Can some one suggest me how to do this using Unix script?
Thanks
rrkk (10 Replies)
Discussion started by: rrkks
10 Replies
2. Shell Programming and Scripting
How do I split file into pieces with PERL?
IE
file.txt
head
1
2
3
4
end
head
5
6
7
8
9
end
n so on (7 Replies)
Discussion started by: 3junior
7 Replies
3. Shell Programming and Scripting
I’m new to Linux script and not sure how to filter out bad records from huge flat files (over 1.3GB each). The delimiter is a semi colon “;”
Here is the sample of 5 lines in the file:
Name1;phone1;address1;city1;state1;zipcode1
Name2;phone2;address2;city2;state2;zipcode2;comment... (7 Replies)
Discussion started by: lv99
7 Replies
4. Shell Programming and Scripting
into small files. i need to add a head.txt and tail.txt into small files at the begin and end, and give a name as q1.xml q2.xml q3.xml ....
thank you very much. (2 Replies)
Discussion started by: dtdt
2 Replies
5. Shell Programming and Scripting
I have a 30 GB XMl file which looks like this:
<page>
<title>APRIL</title>
.........(text contents that I need to extract and store in 1.dat including the <title> tag)
</page>
<page>
<title>August</title>
....(text contents that I need to store in 2.dat including the <title> tag)
</page>... (13 Replies)
Discussion started by: shoaibjameel123
13 Replies
6. Solaris
Hi Team
I have one 10 Gb log file
I want to split it into say 10 of 1-1Gb file
pls share ur experiences how to do this?
Thanks in advance, (3 Replies)
Discussion started by: zimmyyash
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have a Huge 7 GB file which has around 1 million records, i want to split this file into 4 files to contain around 250k messages each.
Please help me as Split command cannot work here as it might miss tags..
Format of the file is as below
<!--###### ###### START-->... (6 Replies)
Discussion started by: KishM
6 Replies
8. Shell Programming and Scripting
Dear shell experts,
I would like to spilt a txt file into small ones. However, I did not know how to program use shell. If someone could help, it is greatly appreciated!
Specifically, I supposed there is file named A.txt. The content of the file likes this:
Subject run condtion ACC time... (3 Replies)
Discussion started by: psychmyluo
3 Replies
9. UNIX for Beginners Questions & Answers
I Have a large file with 24hrs log in the below format.i need to split the large file in to 24 small files on one hour based.i.e ex:from 09:55 to 10:55,10:55-11:55
can any one help me on this.!
... (20 Replies)
Discussion started by: Raghuram717
20 Replies
10. Solaris
Gents
I have huge NAS File System as /sys with size 10 TB and I want to Split each 1TB in spirit File System to be mounted in the server.
How to can I do that without changing anything in the source.
Please your support. (1 Reply)
Discussion started by: AbuAliiiiiiiiii
1 Replies
LEARN ABOUT DEBIAN
deb-split
deb-split(5) Debian deb-split(5)
NAME
deb-split - Debian multi-part binary package format
SYNOPSIS
filename.deb
DESCRIPTION
The multi-part .deb format is used to split big packages into smaller pieces to ease transport in small media.
FORMAT
The file is an ar archive with a magic value of !<arch>. The file names might contain a trailing slash (since dpkg 1.15.6).
The first member is named debian-split and contains a series of lines, separated by newlines. Currently eight lines are present:
o The format version number, 2.1 at the time this manual page was written.
o The package name.
o The package version.
o The md5sum of the package.
o The total size of the package.
o The maximum part size.
o The current part number, followed by a slash and the total amount of parts (as in '1/10').
o The package architecture (since dpkg 1.16.1).
Programs which read multi-part archives should be prepared for the minor format version number to be increased and additional lines to be
present, and should ignore these if this is the case.
If the major format version number has changed, an incompatible change has been made and the program should stop. If it has not, then the
program should be able to safely continue, unless it encounters an unexpected member in the archive (except at the end), as described
below.
The second, last required member is named data.N, where N denotes the part number. It contains the raw part data.
These members must occur in this exact order. Current implementations should ignore any additional members after data.N. Further members
may be defined in the future, and (if possible) will be placed after these two.
SEE ALSO
deb(5), dpkg-split(1).
Debian Project 2012-04-09 deb-split(5)