The tag has no wiki summary.

learn more… | top users | synonyms

5
votes
4answers
8k views

Split a file by line and have control over resulting files extension

There is a standard command for file splitting - split. For example, if I want to split a words file in several chunks of 10000 lines, I can use: split -dl 10000 words wrd and it would generate ...
0
votes
0answers
48 views

Backing up to DVD [duplicate]

Possible Duplicate: Splitting large directory tree into specified-size chunks? I have a partition that is about 14G and I need to back it up to DVD in such a way that I can use each disc to ...
4
votes
3answers
509 views

Is it possible to use split to make character chunks out of Chinese unicode bytes?

For a while, I've been dealing with Chinese unicode text. Of course, the usual rules apply. I can grep for characters the same way I'd do so for words. This is very useful to me. But there's one ...
15
votes
4answers
19k views

What's the best way to join files again after splitting them?

If I have a large file and need to split it into 100 megabyte chunks I will do split -b 100m myImage.iso That usually give me something like xaa xab xac xad And to get them back together I have ...
1
vote
1answer
219 views

Split is not available?

I've just tried to run a simple shell script on my Readynas server running Debian, and it appears that the split command is not available. This is a server which I can't fiddle too much with, so if ...
7
votes
2answers
4k views

Can I automate tar's multi-volume-feature?

Ok, so I've just had a read through this page after a way to improve my current backup solution on my Debian server. Tar seems to be offering a quite nice multi-volume feature, although when I try it ...
2
votes
2answers
640 views

Is there a way to split a HTML file without losing all the formatting within each segment?

So... the split command allows me to split a file into pieces. The problem with that, though, is that only one of the files is going to contain the HTML headers, and only one of them is going to ...
0
votes
1answer
1k views

Cloning/Splitting a serial port (COM) port in Ubuntu

Everything is working with my serial port. I have connected my FTDI converter into my computer, set my COM port... ln -s /dev/ttyUSB0 ~/wine/dosdevices/COM1 But now I would like to "clone" this port. ...
7
votes
3answers
1k views

Split: how to split into different percentages?

How can I split a text file into 70% and 30% using the split command ?
8
votes
7answers
4k views

Splitting large directory tree into specified-size chunks?

I have a directory tree that I would like to back up to optical disks. Unfortunately, it exceeds the size of any one disk (it's about 60GB). I am looking for a script that would split this tree into ...
8
votes
1answer
385 views

K3b to split volume across media

How do I get K3b to split a volumes across several media? For example if I give it a folder that has 6 GB (not one file of 6 GB), it should create several discs of 4.4 GB automatically, instead of me ...
13
votes
2answers
6k views

Break a large file into smaller pieces

How do I break a large, +4GB file into smaller files of about 500MB each. And how do I re-assemble them again to get the original file?