wrote CLI in C++ to sort files. it’s very simple, just download and use. if you a photographer, video editor or just need to sort some files, you welcome (link in post)

  • MonkderVierte@lemmy.zip
    link
    fedilink
    arrow-up
    1
    ·
    3 days ago

    While the later is more reliably available. Use this in scripts you distribute. And also finds -exec instead of |xargs.

    • fruitcantfly@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

      Both find and xargs are POSIX commands, so there’s something wrong with your OS if you are missing either, and find does not have an equivalent of -P. Granted, -P is an extension, but it is supported by GNU’s, OpenBSD’s, FreeBSD’s, and BusyBox’s xargs commands, and probably also by others, so it is reasonable to assume that it is available unless you are targeting some obscure OS