Jump to content

Talk:Core utilities

From ArchWiki
Latest comment: 2 June by Oech3 in topic Swapping coreutils with uutils

unrelated to the "rm" utility

Despite the last edit, I think trash management is related to rm. I agree that a full section might be overblown, but maybe a mention in "preventing data loss" could be interesting ? -- Apollo22 (talk) 20:38, 25 May 2019‎ (UTC)Reply

rm does not support "trash" or anything described on the linked page. -- Lahwaacz (talk) 20:44, 25 May 2019 (UTC)Reply
Yes but utilies implementing trash management can be used as an alternative to rm -- Apollo22 (talk) 20:48, 25 May 2019 (UTC)Reply
For the only alternative listed in Trash management: https://github.com/andreafrancia/trash-cli#can-i-alias-rm-to-trash-put -- Lahwaacz (talk) 20:53, 25 May 2019 (UTC)Reply
I don't think alternatives need to be drop-in replacement. But as it does mark a significant change compared to rm, I now think it should be in the alternative section, and not in the first two. Also, some utilies like rmtrashAUR are compatible with rm. (by the way thanks for challenging me on this) Apollo22 (talk) 21:16, 25 May 2019 (UTC)Reply

Include "rename" utilities

What would be the best way to include "rename" and "perl-rename" to the article? First I thought they could be "mv" alternatives on the Essentials table, but maybe it would be better to put "rename" in the Nonessentials table and "perl-rename" as one of its alternatives there. Xijang (talk) 01:47, 4 May 2023 (UTC)Reply

Swapping coreutils with uutils

Is it fine to add coreutils-uutilsAUR and coreutils-uutils-symlinkAUR to the wiki? Or too early to add ? They already has binaries except for SELinux related bins. oech3 (talk) 07:47, 28 May 2025 (UTC)Reply

It is already there: Core utilities#Alternatives. — Lahwaacz (talk) 11:18, 1 June 2025 (UTC)Reply
They are drop-in oech3 (talk) 11:56, 1 June 2025 (UTC)Reply
Or,
= Section: Replacing coreutils with alternatives =
Aliasing uu-coreutils does not work for scripts as a drop-in for coreutils
You can use uu-coreutils as a drop-in for coreutils by
mkdir uu;for f in $(uu-coreutils --list); do ln -s /usr/bin/uu-coreutils uu/$f; done;export PATH="uu;$PATH" oech3 (talk) 15:26, 2 June 2025 (UTC)Reply