From owner-freebsd-questions Fri Jun 12 13:22:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA05717 for freebsd-questions-outgoing; Fri, 12 Jun 1998 13:22:25 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from jason03.u.washington.edu (root@jason03.u.washington.edu [140.142.77.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA05693 for ; Fri, 12 Jun 1998 13:22:19 -0700 (PDT) (envelope-from jcwells@u.washington.edu) Received: from saul1.u.washington.edu (root@saul1.u.washington.edu [140.142.82.10]) by jason03.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.05) with ESMTP id NAA40238; Fri, 12 Jun 1998 13:22:16 -0700 Received: from s8-37-26.student.washington.edu (S8-37-26.student.washington.edu [128.208.37.26]) by saul1.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.04) with SMTP id NAA15048; Fri, 12 Jun 1998 13:22:15 -0700 (PDT) Date: Fri, 12 Jun 1998 13:11:56 +0000 (GMT) From: "Jason C. Wells" X-Sender: jason@s8-37-26.student.washington.edu To: Design at Carolina Marketing cc: faq@FreeBSD.ORG Subject: Re: Unix commands In-Reply-To: <199806121758.LAA18763@carolmar.bluehill.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 12 Jun 1998, Design at Carolina Marketing wrote: >Hello, > > I am new to Unix and I am looking for a command that will allow me to >rename(mv) a file according to what month it is. I thought i remember >reading something like [mv $.html], but i can't find it now. This is to >rename a generated page produced by a cron file. You would have to write a script to do this. The script would use a combination of 'mv' 'cp' and 'date'. It should be fairly trivial to write this script. Catchya Later, | UW Mechanical Engineering Jason Wells | http://weber.u.washington.edu/~jcwells/ | 206-633-5994 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message