Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mcnc!rti!xyzzy!poirier From: poirier@dg-rtp.dg.com (Charles Poirier) Newsgroups: comp.sys.amiga Subject: Re: A potiential nice AmigaDOS comand for 1.4 or 1.5 or ? Summary: Second opinion Message-ID: <6955@xyzzy.UUCP> Date: 7 Jun 89 20:31:32 GMT References: <8380.AA8380@heimat> Sender: usenet@xyzzy.UUCP Reply-To: poirier@dg-rtp.dg.com (Charles Poirier) Organization: Data General Corporation, Research Triangle Park, NC Lines: 25 In article <8380.AA8380@heimat> sneakers@heimat.UUCP (Dan "Sneakers" Schein) writes: >In Message <16087@louie.udel.EDU>, C475141@umcvmb.missouri.edu (BRIAN WHITMAN) writes: > >>I have a file X in DF1:Mydir1 and I want to move it to DF1:. I would like >>to be able to issue a command something like >> >> MOVE DF1:Mydir1/x DF1: > > WRONG! WRONG! WRONG! WRONG! WRONG! WRONG! WRONG! WRONG! WRONG! WROMG! WRONG! > The command already exists (has since before V1.0) and its called "RENAME". > For example: > RENAME DF1:Mydir1/x DF1: > Will do exactly what you want. Wromg, eh? What *I* want is for rename to accept multiple files and a directory to move them to. And preferably have it parse AmigaDos wildcards, though a good shell will do that. Typically I have a whole directory of files that I want moved, perhaps into a subdirectory of itself. With current commands, this requires N renames, or (since they both accept wild cards) a copy and a delete. Very frustrating for UNIXoids like me, used to the behavior of mv. Also, for a cross-device rename, it should do what you ask, invoking copy and delete (or the equivalent functionality) automatically. Again, like UNIX mv. Cheers, Charles Poirier