Re: s6-cp and s6-mv

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Fri, 21 Sep 2018 20:39:48 +0000

>Probably a dumb question, but is there a reason there is no
>`cp` and no `mv` in `s6-portable-utils`?

  Because reimplementing a full POSIX utility suite isn't a goal.
There are already a lot of those you can choose from (coreutils,
busybox, toybox, sbase+ubase, etc.)

  That said, if you don't have a cp program available, there's
s6-hiercopy in s6-portable-utils.


>What’s the recommended way of copying and moving files?

  It really depends on your environment. I wrote s6-hiercopy for
stripped-bare environments (think initramfs). On a normal system
chances are you have POSIX utilities available, and cp/mv should
work fine. :)

--
  Laurent
Received on Fri Sep 21 2018 - 20:39:48 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC