[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unexpected behavior in mv
From: |
Paul Jarc |
Subject: |
Re: Unexpected behavior in mv |
Date: |
Fri, 25 Apr 2003 11:41:07 -0400 |
User-agent: |
Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3 (gnu/linux) |
"Mario J. Borgnia" <address@hidden> wrote:
> I was surprised when I gave mv a list (using *) as a source and no
> destination.
In fact, you did specify a destination, though you didn't mean to. mv
has no way of knowing that you typed "*" instead of typing each
filename explicitly; wildcard expansion is handled by the shell before
external commands are involved.
http://www.gnu.org/software/fileutils/doc/faq/core-utils-faq.html#ls%20-a%20*%20does%20not%20list%20dot%20files
paul