Web lists-archives.com

Re: Upgrading with a low data cap




On Mon, 2018-10-08 at 10:20 -0500, David Wright wrote:
> On Mon 08 Oct 2018 at 06:59:15 (+0100), Tixy wrote:
> > On Sun, 2018-10-07 at 20:08 -0500, David Wright wrote:
> > [...]
> > > If you're impatient and want to copy files to the stick during
> > > installation, note that (last time I looked) cp has no -n switch
> > > at this time.
> > 
> > $ man cp | grep -C1 '\-n,'
> > 
> >        -n, --no-clobber
> >               do not overwrite an existing file (overrides a
> > previous -i option)
> 
> You're on the wrong man page. You need to read   man busybox.
> (I haven't checked how much of stretch's busybox is in d-i's busybox;
> perhaps all, perhaps not.)

Ahh, I wasn't paying enough attention to realise we were talking about
the installer.

You could get the same effect of "cp -n" with "yes n | cp -i".

-- 
Tixy