Hi, Tim:

In the help text for the MOV command, under "Restrictions" it says:

5. Only objects that are a byte stream file type move between file systems.

So, I suspect you cannot move directories between two different systems with "mv", because those are necessarily two different file systems.


> On 4/9/2011 2:02 PM, tim wrote:
156029 is a directory within claims. I want to move the entire directory
from .5 to .61. When I try

Mv '/tmp/dir1' '/tmp/dir2'

It works fine.

I've don't a wrklnk on both the .5 and .61 path and they show up fine. So I
know my path names are ok.

I was wondering if there is a restriction when trying to move a folder from
1 system to another if both systems are not located on the iseries...

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Mark S. Waterbury
Sent: Saturday, April 09, 2011 1:36 PM
To: Midrange Systems Technical Discussion
Subject: Re: using "mv" qsh command and qntc folders

Hi, Tim:

Are you sure those are not directories? You could try this:

mv /qntc/* /qntc/*

Or, try using the OS/400 MOV command from an OS/400 command line, rather
than "mv" from within Qshell .. you should at least get better error
messages. And, you can prompt the MOV command (by pressing F4).


> On 4/9/2011 9:16 AM, tim.dclinc wrote:
mv '/qntc/'

This thread ...


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

This mailing list archive is Copyright 1997-2020 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].