Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2019 02:13:15 +0100
From:      Tomasz Rola <rtomek@ceti.pl>
To:        freebsd-questions@freebsd.org
Subject:   Re: silly (non-bsd) split/cat question
Message-ID:  <20190221011315.GB13862@tau1.ceti.pl>
In-Reply-To: <20190220224645.GA13862@tau1.ceti.pl>
References:  <CACcSE1zUtJLq5HD9S1c7cb-KUpkDpuqNEwKJd0zkabkGAXjP4w@mail.gmail.com> <20190220224645.GA13862@tau1.ceti.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 20, 2019 at 11:46:45PM +0100, Tomasz Rola wrote:
> On Wed, Feb 20, 2019 at 11:15:58AM -0800, Aleksandr Miroslav wrote:
> > Suppose I have 6 files that have been created by split, they are
[...]
> 
> copy last 2GiB of bigfile onto x_n (the exact n value, if you want to
> simulate split, will be probably 6... or 5?)
> truncate last 2GiB of bigfile 
> n--
> repeat until bigfile <2GiB
> mv bigfile x_0

I know there is an error up there, but fortunately I have also advised
you to experiment, so you should catch it quickly. It is just one sign
missing.

-- 
Regards,
Tomasz Rola

--
** A C programmer asked whether computer had Buddha's nature.      **
** As the answer, master did "rm -rif" on the programmer's home    **
** directory. And then the C programmer became enlightened...      **
**                                                                 **
** Tomasz Rola          mailto:tomasz_rola@bigfoot.com             **



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190221011315.GB13862>