Software :: Split A File, Without Using 'split'?
May 20, 2011Im in a unique situation where a box has a 400G file, on FreeBSD, without thesplit' utility available
View 11 RepliesIm in a unique situation where a box has a 400G file, on FreeBSD, without thesplit' utility available
View 11 RepliesI have a 7 GB VOB file which I created from a DVD using ffmpeg dump to remove CSS protection (it is legal where I live to do so). Now, I want to create a DVD/.iso that will be understood by regular DVD players/appliances. How do I do it?
View 1 Replies View RelatedHow would I go about splitting a file by section? Imagine the file looks like this:
Lots of text 1
Lots of text 2
[HEY, SPLIT HERE]
[code]....
I want to use a command that would split this file, but look for the text "[HEY, SPLIT HERE]" to get the split points.
I have a file in which contains one line with a lot floating points.In the very first place and some times in the downstream, there are a few integers, surrounded by blank spaces.1 1.02-4 1.03-5 544 1.04-1 65 2.98-1 5.78-10 3.45-2 etc etc.I aim to split the file in more files each of them containing an integer and the following floatings until the next integer.
View 1 Replies View RelatedI have a file with 5 columns. Column 4 contains numbers.Is it possible to split the file into multiple files using a condition for the contents of column 4 i.e if column 4 contains a value between 0-10 then print the lines to a new file called less_than_10.txt
View 1 Replies View RelatedI'd like to split a file into two, where the first file is the first two lines and the second is the remaining lines (third line to EOF).
View 2 Replies View RelatedI use csplit to split up a large file and I get file xx01, xx02 and so on. I use a for loop to loop through the files.
Code:
for f in "xx**"
do
echo test
echo $f
[Code].....
I have a huge rar compressed split file archive at my webspace but not enough space to decompress the file.
Is it possible to decompress the split file archive and deleting already decompressed parts on the fly? Currently, I'm using winrar 3.70 beta 2 but it seems that it hasn't such an option.
If there's another way to improve a script that I have created, since I'm not an expert! It works, and it made what I wanted, but it took a while to do it... maybe it can be improved. Here's the background. I have one file, with 244000 lines, let's call it X. I needed to split it in 1000 files, each one of 244 lines. I also needed the files to have the .arp extension. So here is what I did:
Code:
for i in {1..1000}
do
sed -n '1,244p;244q' X > $i.arp
sed -i '1,244d;' X # in this way I deleted the copied lines each time
done
Tool like Media File Segmenter for Linux
I know that one can use ffmpeg to extract a smallfile.avi from a largfile.avi. But What I am looking for is an tool/command to split a large file into several files of a given size.
I have a log file on ubuntu 10.04 that has 500 lines of log data in it. What command could I use in a terminal to split the single 500-line file into generate ten files each with 50-lines of log files each?
View 2 Replies View Relatedi try to split mpeg file using ffmpeg. The splitting itself works OK, but the quality is lower. What should I do in order to keep the same video quality?
The way I used ffmpeg:
Code:
ffmpeg -i in.mpeg -ss 00:00:00 -t 00:02:58 out.mpeg
I have a file (called twitterstatus.tmp) that looks like this:
Code:
<status>
<id>24854489768</id>
<text>Are we gonna ride the sun home?</text>
<id>55266987</id>
[code].....
How could I feed this into an array, with each element containing everything between the <status> </status> tags?
I have a large text file with three columns. I'm trying to write a PERL script that splits the file up based on the value of the 3rd column. So every time the third column reads 0, a new file is created and all the data up until the next 0 is found is written to that new file. This should happen over and over until the initial file has been entirely split up.
ex data:
000
2024
2243
2143
96962871
97972878
000
2034
3034
3352
So with the data above, the file would be split into two files:
data_1.txt would contain
000
2024
2243
2143
96962871
97972878
and data_2.txt would contain
230
2034
3034
3352
whether it is possible to split open a file and edit only one of the open windows.
View 2 Replies View RelatedI have a single file that contain multi-text something likes this:
Quote:
No. Time Source Destination Protocol Info
185 27712.068199 192.168.18.23 192.168.18.191 SMTP S: 250 2.1.5 Ok
No. Time Source Destination Protocol Info
186 27715.068293 192.168.0.50 192.168.5.2 TCP suncacao-jmxmp > 44693 [ACK] Seq=1 Ack=1 Win=64807 Len=1380
[Code].....
I've a file with a size of 6GB. I would like to compress this file and split them into smaller files. I was also thinking in use bzip2 to compress it, because if offers a good compression rate. How can I split this file into small ones to compress it?
View 5 Replies View Relatedstandard Linux installation utilities split the root file-system and the home file-system on two separate but relatively equal-sized partitions? For example, when I put fedora on an 80GB disk, it automatically gave the root file-system 32GB and home 30GB and the swap 8GB of space. However, since my home file-system has a directory with 28GB of files in it, why is my root file-system reading 100% usage? Is the home FS overlaid on top of the root FS? Is there an advantage to doing this? I just made a boot partition (50mb or so), a root partition (90% of the disk space) and a swap (4%-5% disk space).
View 5 Replies View RelatedI am removing some old graphics from my server and one of the gallery programs have created two enormous directories that I cannot even open with FTP.
I tried to tar each directory and the first came out to about 37gb and the second keeps failing (its bigger one would assume).
How can I archive and split these into smaller files?
What are the best GUI programs to split / chop a video file of 60 minutes into six 10 minute videos?
View 2 Replies View RelatedHow does one split a large linux file and transfer to windows external drive ?
View 2 Replies View RelatedMandriva 2010 kde4.3.5 Dolphin 1.3I like to use split screen with file manager. Would like duplicate up and back buttons that always corraspond to each pane of the window so I need not worry about which pane has the focus when I go to use the bauttons.I am hoping to find the functionality anywhere anyhow. I have been using the default Daulphin file manager but don't care if I need to change to a different one.
View 1 Replies View Relatedhave a gzip file ABC_000023232.gzipBCD_023232032.gzipI want to split these files into smaller files but keep the extension same because I am using this as a variable in a script
Code:
for i in `ls *.gzip`
split -b 500K $i $i
[code]...
I want to split file foo into two parts, and I only intersted in the first one. But the N bytes in which the first part consists, I want it to be an exact replica of the corresponding bytes of foo. More exactly:
Code:
foo foo1 foo2
==============================
90 90 05
[code]....
Are there software that can split big file size into small file size in Linux?
View 1 Replies View RelatedI've found plenty of resources that state how to converge the installation cds into a dvd, but does anyone know of a way to take a dvd iso and split it into the multiple installation cds?
Also, I know it's possible to just download the cd isos, but that's not the goal of this exercise.
When the system was setup, it was setup with one physical LVM, and one logical LVM (aside from the swap and boot) as the "default" partitioning. Now I want to make /var sit on it's own partition.
1. I booted with a Live CD, and reduced the size of the LogVol00 from 1.5T to 100G (I plan to split out more than just /var...but I'll start with /var)
2. I created a new logical LogVol02 for 100G Ext 3 FS (step 1 and 2 with LVM GUI Utility) which seems to have worked just fine.
3. I did the following (from the LIVE CD) :
[Code]...
Right now, if I had to reinstall and define each partition at install time, it wouldn't be a problem, the system hasn't been fully configured...but the point of the exercise was to work with LVM (i've never used it before, I always used just fdisk only) and learn to split off directories into their own parition.
i have a folder of size 50 gb in my fedora 13 system. i want to split the folder into 5 pieces of size 10 gb each. how to do that? purpose is i am going to gunzip this folders seperately and going to write in dvds
when i attempted to gunzip that 50 gb folder,i got 12gb tar.gz file which is not equal to the size of a dvd. then i dont want to split that file.
I'm trying to upload my tar'ed site to server but I have upload limit. My ftp program extracts tar after uploading it. How do I split this one tar into two so I could upload one tar and let it extract itself, and then upload second one and let it extract itself too?
View 1 Replies View RelatedHow do I split my partition in 2?
View 2 Replies View Related