Date: Tue, 15 Dec 1998 05:37:59 GMT From: efinley@efinley.com (Elliot Finley) To: David Empey <empey@integral.on.ca> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Two Questions Message-ID: <3677f544.132595217@mail.afnetinc.com> In-Reply-To: <199812150423.XAA12491@integral.on.ca> References: <199812150423.XAA12491@integral.on.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
For the first question, get mmv from the ports. As for the second question... I dunno. On Mon, 14 Dec 1998 23:23:59 -0500, you wrote: >There are a couple of things I need to be able to do, but which I'm having >trouble figuring out how to do. I *hope* the answers aren't as obvious as >I fear they are :) > >First, I need to be able to change the extension on a large number of files >in a directory from *.txt to *.ltr, but I cannot seem to get the mv (or >the cp and rm) commands to do the job. Is there something easier to do >than renaming the files one by one? > >Second, I'm writing a shell script to take input for the 'at' command. >Using 'read' to get input for the time and day are no problem, but I'm >having trouble devising a way to get a list of commands to run. What I >have in mind is this: read in variables for time and day, run the at >command (from a script) with the time and place as arguments. However, >what I need is a way to get the script to get a list of commands from the >user, or else perhaps a way to run the command (from the script) so that it >gives the user a chance to input a list of commands as would be the case if >it was run from the command line. > >Any suggestions appreciated, with thanks! > >David Empey >ICQ #7283765 > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > -- Later Science (efinley@efinley.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3677f544.132595217>