Split File function enhancement regarding text file handling

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
stheub
Junior Member
Junior Member
Posts: 2
Joined: 2010-07-31, 17:22 UTC

Split File function enhancement regarding text file handling

Post by *stheub »

Hi,

A nice enhancement of Total Commander's Split File function would be an option to split large text files whenever a size or line count limit is reached and the end of the current text line (indicated by end of line characters CR/LF-x'0D0A' (Windows) or LF -x'0A' (Unix)) was read. The main feature of this enhancement is that text lines will always stay intact because file splits will be performed at the end of a line, only.

Thank you in advance.
User avatar
Motorocker
Member
Member
Posts: 105
Joined: 2006-07-19, 10:52 UTC
Location: Perm, Russia
Contact:

Post by *Motorocker »

This function can be released in archive plugin.

P.S. Norton Commander can split files by size or count. Why Total Commander can split only by size?
Graphics Converter – images conversion
KillOK – Cease to press OK!
NSCopy – copy unreadable
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

stheub, what if file has only one very-very long line?

Motorocker, agree. Sometimes it is more useful to specify number of parts.
stheub
Junior Member
Junior Member
Posts: 2
Joined: 2010-07-31, 17:22 UTC

Post by *stheub »

The requested functionality makes no sense if the file has only one very-very long line. It's intended for splitting "normal" text files into a given number of parts preserving text lines. Think of a large report (text) file which size is too big to be uploaded to a FTP server but should remain readable (use of a compression utility like PKZIP is not permitted).

Thank you.
Post Reply