From owner-freebsd-questions@FreeBSD.ORG Tue May 27 07:44:07 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10C6037B401 for ; Tue, 27 May 2003 07:44:07 -0700 (PDT) Received: from ns0.uk.circle.com (ns0.uk.circle.com [212.161.1.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id F405D43F3F for ; Tue, 27 May 2003 07:44:02 -0700 (PDT) (envelope-from Vince.Hoffman@uk.circle.com) Received: from mime-london.uk.circle.com (mime-london.uk.circle.com [10.20.0.101]) by ns0.uk.circle.com (8.12.8/8.12.8) with ESMTP id h4REo0kV087668 for ; Tue, 27 May 2003 15:50:00 +0100 (BST) Received: from ex-london.uk.circle.com (unverified) by mime-london.uk.circle.com ; Tue, 27 May 2003 15:44:04 +0100 Received: by EX-LONDON with Internet Mail Service (5.5.2653.19) id ; Tue, 27 May 2003 15:44:03 +0100 Message-ID: <3500515B75D9D311948800508BA37955014BDB91@EX-LONDON> From: Vince Hoffman To: "'Joachim Dagerot'" , freebsd-questions@freebsd.org Date: Tue, 27 May 2003 15:44:02 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: RE: shell programming - how to write a script that renames files after their last moddate? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2003 14:44:07 -0000 > This is certainly not freeBSD specific and probably I'm annoying > someone for being off-topic but please be patient and hint me on where > to find good resources in shell-programming. > http://www.shelldorado.com/ isnt bad. otherwise comp.unix.shell is always worth a look. > > I could use some help in writing a script that renames all files in a > directory tree to the files last modified date, example usage: > > > daterename "Img_" *.jpg > > the command above will rename all *.jpg files to "Imag_".jpg > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >