Re: [Jprogramming] frename: file rename

2013-12-21 Thread Brian Schott
Yes, thanks. frename is a system verb that I just used wrong. Duh. On Sat, Dec 21, 2013 at 6:43 PM, Vijay Lulla wrote: > Aren't your arguments reversed? Shouldn't you call frename as > > (jpath d,'comb.png') frename~ jpath d,'1.png' > > ? > The line > 0=((unxlib 'c'), ' rename > i *c *c') 15!:0

Re: [Jprogramming] frename: file rename

2013-12-21 Thread Vijay Lulla
Aren't your arguments reversed? Shouldn't you call frename as (jpath d,'comb.png') frename~ jpath d,'1.png' ? The line 0=((unxlib 'c'), ' rename > i *c *c') 15!:0 y;x has reversed the parameters of what `rename' expects. Please see `man rename' HTH, Vijay. On Sat, Dec 21, 2013 at 4:40 PM, Bri

[Jprogramming] frename: file rename

2013-12-21 Thread Brian Schott
In a chat thread we have been discussing a task to rename the files in a directory. I am using J6, and to do so I want to use the verb frename from the standard j files script inside 'j602/system/main/files.ijs' on my Mac (which is considered a Unix -- IFUNIX -- box). But the verb frename is not wo