Cheers
On Thursday, 5 August 2021 at 00:00:29 UTC+10 pfalson wrote:
> FWIW you can do
>
> COPY FROM onefile TO anotherfile ALL {OVERWRITING}
>
> The OVERWRITING will be quicker.
>
> Sent from my iPhone
>
> On Aug 4, 2021, at 1:52 AM, Stuart Boydell <
> [email protected]> wrote:
>
> I just discovered the alternate COPY format works for this scenario.
>
> COPY FROM $fileName TO $tmpFolder ALL
>
> On Wednesday, 4 August 2021 at 11:49:28 UTC+10 Stuart Boydell wrote:
>
>> I'm currently trying to do this from a bash script but I'm not sure how
>> to pipe into the COPY command.
>> Can anyone suggest something that works along the lines of:
>>
>> mkdir tmp123
>> echo "(tmp123"|COPY DICT MYFILE *
>>
>> This just seems to try to copy contents of the current folder to itself!
>>
>> On Saturday, 24 July 2021 at 20:50:58 UTC+10 [email protected] wrote:
>>
>>> Stuart,
>>>
>>> This option is meant for resizing hashed source code files to a folder
>>> and does include an OBJECT data section.
>>>
>>>
>>>
>>> There is currently no option to resize to a regular TYPE=UD.
>>>
>>> This works on Windows but seems to be a problem on Linux.
>>>
>>>
>>>
>>> We will look into it.
>>>
>>>
>>>
>>> Mike
>>>
>>>
>>>
>>> *From:* [email protected] <[email protected]> *On Behalf Of
>>> *Stuart
>>> Boydell
>>> *Sent:* 23 July 2021 08:38
>>> *To:* jBASE <[email protected]>
>>> *Subject:* Convert file to folder (UD)
>>>
>>>
>>>
>>> jrf -jHbc option to resize a hashed file to an OS folder doesn't seem to
>>> work. Is there a trick or alternative to resize to an OS folder?
>>>
>>>
>>>
>>> Also, if I can get it working - will this create an OBJECT part - which
>>> I don't want?
>>>
>>>
>>>
>>> In a zumasys/jbase:latest container:
>>>
>>>
>>>
>>> >CREATE-FILE TEST1
>>>
>>> [ 417 ] File TEST1]D created , type = JD
>>>
>>> [ 417 ] File TEST1 created , type = JD
>>>
>>> >OFF
>>>
>>> sh-4.4# jsh -a TEST
>>>
>>> >jrf -Hjbc TEST1
>>>
>>> /jbasedata/dbms/TEST/TEST1 is currently an empty file
>>>
>>> (R)esize anyway or (S)kip file resize: R
>>>
>>> MOVE /jbasedata/dbms/TEST/1tmp.jrf to /jbasedata/dbms/TEST/TEST1 failed
>>> with error: 20
>>>
>>> Resize of /jbasedata/dbms/TEST/TEST1 was skipped!
>>>
>>> 0 file(s) resized.
>>>
>>> 1 file(s) skipped and could not be overwritten (probably in use)...
>>>
>>> MOVE /jbasedata/dbms/TEST/1tmp.jrf to /jbasedata/dbms/TEST/TEST1 failed
>>> with error: 20
>>>
>>> Elapsed: 00:00:05
>>>
>>> --
>>> --
>>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>>
>>> To post, send email to [email protected]
>>> To unsubscribe, send email to [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/jBASE?hl=en
>>> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2FjBASE%3Fhl%3Den&data=04%7C01%7Cmikes%40jbase.com%7Ca3010fe7a37741fb9c1108d94e038e1d%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C0%7C637627143645828584%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3HklnAx5G1Bzi7lfw7kinsqs9y8Jp4tlaXtEQRDOkSU%3D&reserved=0>
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "jBASE" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jbase/6a244bbf-5ec3-4869-8bff-c7fac02293a4n%40googlegroups.com
>>>
>>> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fjbase%2F6a244bbf-5ec3-4869-8bff-c7fac02293a4n%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cmikes%40jbase.com%7Ca3010fe7a37741fb9c1108d94e038e1d%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C0%7C637627143645838540%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XsmCj8hfzMHEfGUxpfGTnhoks2vEdwZpTaaANR21ac4%3D&reserved=0>
>>> .
>>>
>> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
>
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/ee4ab625-73f1-4399-a7ea-8f42a5517772n%40googlegroups.com
>
> <https://groups.google.com/d/msgid/jbase/ee4ab625-73f1-4399-a7ea-8f42a5517772n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
--
--
IMPORTANT: T24/Globus posts are no longer accepted on this forum.
To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
---
You received this message because you are subscribed to the Google Groups
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jbase/63df0a51-a0a9-4d11-a3e8-a5d41eb20092n%40googlegroups.com.