On Wed, May 9, 2012 at 9:43 AM, <fbocch2595@xxxxxxx> wrote:

Hi John, that's not working, is my syntax right?  I have
a file called claims1 in that path and /ARCH is empty
and is the archive directory I want to move the file to.

mv /test/APP/test1/claims*.lwr /ARCH
mv: 001-2118 Error found renaming object /test/APP/test1/claims*.lwr to /ARCH/claims*.lwr. No such path or directory.
$

Well, the syntax looks right to me. It works on my machine (V5R2).
It's kind of a long shot, but do you have read permissions on the
source files (and all upstream directories) and write permissions on
the destination directory?

The error message text suggests either that one of your paths doesn't
exist, or that the wildcard is just not working at all (and is being
interpreted as a literal character).

If all your permissions are fine and everything that needs to exist
exists, then my only suggestion is to use something else, such as the
MOV command in CL (which supports * and ? wildcards, according to the
help).

John

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].