Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 662FBD6EA for ; Mon, 15 Oct 2012 21:15:07 +0000 (UTC) Received: (qmail 29875 invoked by uid 500); 15 Oct 2012 21:15:05 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 29364 invoked by uid 500); 15 Oct 2012 21:15:04 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 29185 invoked by uid 99); 15 Oct 2012 21:15:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2012 21:15:04 +0000 Date: Mon, 15 Oct 2012 21:15:04 +0000 (UTC) From: "Jonathan Allen (JIRA)" To: common-dev@hadoop.apache.org Message-ID: <1783361966.47550.1350335704323.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (HADOOP-2575) Shell command ls should support option -d MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-2575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Allen resolved HADOOP-2575. ------------------------------------ Resolution: Duplicate This has been fixed under HDFS-1475 > Shell command ls should support option -d > ----------------------------------------- > > Key: HADOOP-2575 > URL: https://issues.apache.org/jira/browse/HADOOP-2575 > Project: Hadoop Common > Issue Type: New Feature > Components: fs > Affects Versions: 0.15.2 > Reporter: Hairong Kuang > Assignee: Robert Chansler > Labels: newbie > > Shell command "ls" currently does not support option -d. Meanwhile the shell supports command "stat", but needs to supply the print format specifying which attributes to print on the screen. It's hard to use and in addition it does not support printing the file permissions. So I would like to propose that the shell supports "ls -d" and deprecates the command "stat". -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira