I mean why wasn't refused cp -p request, saying just use mkdir first.
There seems to be a good deal of confusion here, as cp -p has nothing to do
with mkdir -p.
Oooops, sorry, I meant: why wasn't refused mkdir -p option request, saying
just use ls and mkdir first?
Hmmm, ok, I see they are
One finds that -d completely nullifies any -R flag of ls,
so maybe print a warning etc. Or warn on the man page, etc.
積丹尼 Dan Jacobson wrote:
One finds that -d completely nullifies any -R flag of ls,
so maybe print a warning etc. Or warn on the man page, etc.
What would you want it to do? -d says to show info on the directory
and NOT expand it.
-d says give info on the name that you type in rather than
I was thinking maybe ls -Rd would be like ls -R, but only show
directories, not also regular files too.
I don't think any behavior should be changed. I just think some note
about that combination should be added to the docs.