OT: Splitting LARGE files for e-mailing

David G. Miller (aka DaveAtFraud) dave at davenjudy.org
Wed Aug 24 12:13:44 UTC 2005


drn_temp2 at rogers.com wrote:

>On Wed, 2005-08-24 at 03:36 -0400, David Niemi wrote:
>  
>
>>> With windows there is HJsplit and other software which will split up
>>> large files into manageable files.  Agreed there is many different ways,
>>> what is the common / accepted method in Linux?
>>    
>>
>
>answer: split
>
>is there another method?
>
>
>  
>
dd also works.  Use "skip" and "count".

dd --help
Usage: dd [OPTION]...
Copy a file, converting and formatting according to the options.

  bs=BYTES        force ibs=BYTES and obs=BYTES
  cbs=BYTES       convert BYTES bytes at a time
  conv=KEYWORDS   convert the file as per the comma separated keyword list
  count=BLOCKS    copy only BLOCKS input blocks
  ibs=BYTES       read BYTES bytes at a time
  if=FILE         read from FILE instead of stdin
  obs=BYTES       write BYTES bytes at a time
  of=FILE         write to FILE instead of stdout
  seek=BLOCKS     skip BLOCKS obs-sized blocks at start of output
  skip=BLOCKS     skip BLOCKS ibs-sized blocks at start of input
      --help     display this help and exit
      --version  output version information and exit

Cheers,
Dave




More information about the fedora-list mailing list