rename command (original) (raw)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
From: | Sami Kerola |
---|---|
Subject: | rename command |
Date: | Mon, 27 Jun 2011 11:11:01 +0200 |
Hello coreutilitarians,
I have been lately making some util-linux patches and while doing so I found rename command. It did not take long to realize that the command would be much better if it would support similar switches as mv. To accomplish that reusing gnulib copy functionality felt correct to me, but that is a problem within context of util-linux package, it does not use gnulib and I do not think it will have anytime soon. I proposed to move rename in util-linux mail list from util-linux to coreutils package, and Karel Zak, current util-linux maintainer, responded 'go ahead and ask at coreutils mailing list'.
So here we are, would it sound reasonable to take rename command to be part of coreutils?
To be a bit more concrete I wrote first version of patch. While the patch is nearly good there are issues. For instance tests/misc/help-version is failing, and I my attempt to fix that was unsuccessful. The command itself poses few implementation questions. Should rename support recursion, and should the rename move files across directories (IMHO that would be unintuitive)?
-- Sami Kerola http://www.iki.fi/kerolasa/
0001-rename-move-command-from-util-linux-to-coreutils-packa.txt
Description: Text document
- rename command,Sami Kerola <=
- Re: rename command, Pádraig Brady, 2011/06/27
* Re: rename command, Sami Kerola, 2011/06/27
* Re: rename command, Erik Auerswald, 2011/06/28
* Re: rename command, Pádraig Brady, 2011/06/28
* Re: rename command, Erik Auerswald, 2011/06/28
* Re: rename command, Sami Kerola, 2011/06/28
* Re: rename command, James Youngman, 2011/06/28
- Re: rename command, Pádraig Brady, 2011/06/27
- Prev by Date:Re: Feature Request for 'sort' utility
- Next by Date:Re: Feature Request for 'sort' utility
- Previous by thread:Feature Request for 'sort' utility
- Next by thread:Re: rename command
- Index(es):