On Wed, Jul 09, 2003 at 06:52:34PM +0200, jc...@co... wrote:
> Hi,
>
> I'm using Trinux to back up Windows workstations by imaging the disk drive
> with dd and sending the result to the backup server over Samba. Trouble is
> that Samba chokes on files larger than 2 GB. Therefore I'm trying to find
> out how to split the piped result into several files. Which command,
> available in Trinux, would I use for that and which package is it in?
>
> Any help appreciated. Thanks.
>
>
You should be able to use the count and seek options with dd to do
this. The dd in the fileutil.tgz package should have the full (GNU)
version of dd (vs. a busybox version).
from man dd
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
|