From owner-freebsd-questions@FreeBSD.ORG Sun May 30 16:24:52 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CF68106566C for ; Sun, 30 May 2010 16:24:52 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (ns2.r-bonomi.com [204.87.227.129]) by mx1.freebsd.org (Postfix) with ESMTP id 27C3A8FC0C for ; Sun, 30 May 2010 16:24:51 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.3/rdb1) id o4UGOS9Q022239 for questions@freebsd.org; Sun, 30 May 2010 11:24:28 -0500 (CDT) Date: Sun, 30 May 2010 11:24:28 -0500 (CDT) From: Robert Bonomi Message-Id: <201005301624.o4UGOS9Q022239@mail.r-bonomi.com> To: questions@freebsd.org Cc: Subject: Re: command to rename a directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 16:24:52 -0000 > From owner-freebsd-questions@freebsd.org Sun May 30 02:43:14 2010 > Date: Sun, 30 May 2010 15:42:59 +0800 > From: Aiza > To: "questions@freebsd.org" > Cc: > Subject: command to rename a directory > > Is there a command to rename a directory in place. > Like mv does for a file name. like 'mv', maybe? *grin* to wit: $ mkdir foo $ ls -ld foo* drwxrwxr-x 2 bonomi user 512 May 30 11:21 foo $ mv foo foo2 $ ls -ld foo* drwxrwxr-x 2 bonomi user 512 May 30 11:21 foo2