bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24958: Please make "omitting directory" message clearer


From: Pádraig Brady
Subject: bug#24958: Please make "omitting directory" message clearer
Date: Thu, 17 Nov 2016 01:07:36 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 17/11/16 00:44, Samuel Thibault wrote:
> Hello,
> 
> Every year, my students are completely taken aback when trying to copy a
> directory:
> 
> $ cp /foo/bar .
> omitting directory /foo/bar
> 
> The problem is that the error message is not explicit at all about what
> issue cp actually encountered: "yes it is a directory, so what?!"
> 
> Could this be changed into for instance:
> 
> $ cp /foo/bar .
> not recursing into directory /foo/bar by default
> 
> which will help them figure out they just need to use -r.

I agree, though we have to be careful not to imply
we copy the directory but not the contents.
I'll adjust to:

  "not recursing; omitting directory '/foo/bar'"

thanks,
Pádraig





reply via email to

[Prev in Thread] Current Thread [Next in Thread]