[Tfug] OBSD error
Brian Murphy
murphy+tfug at email.arizona.edu
Mon Nov 24 02:14:25 MST 2003
Quoting steveb7 at bblabs.net:
> I'm trying to copy the entire contents of one directory to another,
> but keep getting an error. The command I'm issueing is:
>
> mv -f /var/www/htdocs/jpgraph-1.13/src/*.* /var/www/htdocs/jpgraph/
>
> and the error is:
> usage: mv [-fi] source target
> mv [-fi] source ... directory
>
> I've reviewed the man page and as far as I can tell the syntax is
> correct. What am I missing here?
*.* is a DOSism that people often carry to unix as a bad habit. Unless
if you specifically want to match a dot in a filename, just use 1
asterik.
What does ls -l /var/www/htdocs/jpgraph-1.13/src/*.* tell you? Is the
results list empty?
Brian
The opinions or statements expressed herein are my own and should not be
taken as a position, opinion, or endorsement of the University of
Arizona.
More information about the tfug
mailing list