GNU bug report logs -
#11183
[coreutils 8.13] touch: add options -v, --verbose
Previous Next
Reported by: Jari Aalto <jari.aalto <at> cante.net>
Date: Thu, 5 Apr 2012 05:16:01 UTC
Severity: normal
Tags: notabug
Done: Jim Meyering <jim <at> meyering.net>
Bug is archived. No further changes may be made.
Full log
Message #21 received at 11183-done <at> debbugs.gnu.org (full text, mbox):
tags 11183 notabug
thanks
Jim Meyering wrote:
> Pádraig Brady wrote:
>> On 04/05/2012 06:14 AM, Jari Aalto wrote:
>>>
>>> Please add verbose options to program touch(1):
>>>
>>> -v, --verbose
>>>
>>> Similarly than what is found in cp(1), mv(1). Seing what files are being
>>> touched e.g. from scripts would be helpful:
>>>
>>> touch ${optionverbose:+--verbose} <file pattern>
>>
>> Well files are always touched, or at a low level if the
>> timestamps don't need to be updated, this info isn't returned.
>>
>> Also to indicate as to whether files were created or not,
>> is problematic, I don't think that can be done atomically.
>
> Exactly.
> I'd rather not add any more --verbose options like this.
> In fact, I have been sorely tempted to remove the --verbose
> options from chown/chgrp and chmod: the options add complexity and
> the printed results are not reliable.
Also, touch is different from mv and cp. For those two,
using --verbose can provide basic progress indicator when
the files are large, and for mv, when rename is not usable.
So I'm closing this.
This bug report was last modified 12 years and 308 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.