× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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.

Mark

> 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/11.0.0.5/claims/156029/* /qntc/11.0.0.61/data/ClaimArchive/156029/*

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).

Mark

> On 4/9/2011 9:16 AM, tim.dclinc wrote:
mv '/qntc/11.0.0.5/claims/156029'
'/qntc/11.0.0.61/data/ClaimArchive/156029'

As an Amazon Associate we earn from qualifying purchases.

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-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.