Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DC5C310613 for ; Wed, 8 May 2013 03:53:02 +0000 (UTC) Received: (qmail 31225 invoked by uid 500); 8 May 2013 03:52:58 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 30877 invoked by uid 500); 8 May 2013 03:52:57 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 30863 invoked by uid 99); 8 May 2013 03:52:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 May 2013 03:52:57 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of huairen.lin@gmail.com designates 74.125.82.41 as permitted sender) Received: from [74.125.82.41] (HELO mail-wg0-f41.google.com) (74.125.82.41) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 May 2013 03:52:53 +0000 Received: by mail-wg0-f41.google.com with SMTP id y10so4647836wgg.2 for ; Tue, 07 May 2013 20:52:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=tkXAyHpOdCd/xT+5lmIfIHv6p0yiotG7XrgJm6ekBiY=; b=sIEUG4eMAoFPsap4xrH2SzbZC3/IdFr/JzMAl/w/vXAW6qXfoQVIdM1dxCNZ7RF5KO p9Ep5hr9vaMpWPSSJffIwioLjje9hjdYWCibofg+6zV69DJ923SmdtU43wMvOC9GDDiE 2B1RbFUHJEpCVmM1a7jPr3GalY0RiFviI8/KiiTJcvjAoePjTzeADIc+gNFvRLwYq+d0 /Sf91hk8en6Br3DxZG1YJfngFw+KxtuD4ucPKEP1dst9OPFI9ZCZMf6OeWfHrgdz+dh0 wTxmmYPDIib/QE4pLMde5P79HLxKPPjob248iIMltDrd6eiFWdlg67smmOXeObVlEGMB IVqg== MIME-Version: 1.0 X-Received: by 10.180.183.133 with SMTP id em5mr7146389wic.26.1367985151743; Tue, 07 May 2013 20:52:31 -0700 (PDT) Sender: huairen.lin@gmail.com Received: by 10.194.28.33 with HTTP; Tue, 7 May 2013 20:52:31 -0700 (PDT) In-Reply-To: References: Date: Wed, 8 May 2013 13:52:31 +1000 X-Google-Sender-Auth: RyA2DZ08kdTb3p8g5gPOUo--1s8 Message-ID: Subject: Re: get recent changed files in hadoop From: Winston Lin To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a11c222c8071f3a04dc2cdd00 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c222c8071f3a04dc2cdd00 Content-Type: text/plain; charset=ISO-8859-1 look like we cannot even sort the output of ls by date with fs command? In *ux system, we can do ls -t ...to sort by modification time, newest first Winston On Wed, May 8, 2013 at 1:47 PM, Mohammad Tariq wrote: > I don't think any such thing is available OOTB. > > Warm Regards, > Tariq > https://mtariq.jux.com/ > cloudfront.blogspot.com > > > On Wed, May 8, 2013 at 8:51 AM, Rahul Bhattacharjee < > rahul.rec.dgp@gmail.com> wrote: > >> Is any such option available in other posix shells? >> >> >> On Wednesday, May 8, 2013, Winston Lin wrote: >> >>> Any idea to get recent changed file in hadoop? e.g. files created >>> yesterday? >>> >>> fs -ls will only give us all the files. >>> >>> Thanks >>> Winston >>> >> >> >> -- >> Sent from Gmail Mobile >> > > --001a11c222c8071f3a04dc2cdd00 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
look like we cannot even sort the output of ls b= y date with fs command?

In *ux system, we can do ls -t ...to= =A0 sort by modification time, newest first

Winston




On Wed, May 8, 2013 at 1:47 PM, Mohammad Tariq <dontariq@gma= il.com> wrote:
I don't think any such = thing is available OOTB.

=


On Wed, May 8, 2013 at 8:51 AM, Rahul Bh= attacharjee <rahul.rec.dgp@gmail.com> wrote:
Is any such option available in other posix shells?
<= br>
On Wednesday, May 8, 2013, Winston Lin wrote:
Any idea to get recent changed file in hado= op? e.g. files created yesterday?

fs -ls will only give us all= the files.

Thanks
Winston


--
Sent = from Gmail Mobile


--001a11c222c8071f3a04dc2cdd00--