bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #15167] find . -type d output is not in order


From: anonymous
Subject: [bug #15167] find . -type d output is not in order
Date: Wed, 7 Dec 2005 19:44:09 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=15167>

                 Summary: find . -type d output is not in order
                 Project: findutils
            Submitted by: None
            Submitted on: Wed 12/07/05 at 19:44
                Category: find
                Severity: 3 - Normal
              Item Group: Wrong result
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: address@hidden
             Open/Closed: Open
                 Release: 4.2.27
           Fixed Release: None

    _______________________________________________________

Details:

I have files located in directories that are sorted by date (YYYY-MM-DD) and
when I do a find . -type d they are outputted randomly.

address@hidden Photos]$ ls
2005-09-11  2005-09-22  2005-10-03  2005-10-15  2005-10-30  2005-11-14
2005-09-12  2005-09-23  2005-10-05  2005-10-17  2005-10-31  2005-11-18
2005-09-13  2005-09-24  2005-10-06  2005-10-18  2005-11-01  2005-11-19
2005-09-14  2005-09-25  2005-10-07  2005-10-19  2005-11-02  2005-11-24
2005-09-15  2005-09-26  2005-10-08  2005-10-22  2005-11-03  2005-11-25
2005-09-16  2005-09-27  2005-10-09  2005-10-23  2005-11-06  2005-11-27
2005-09-17  2005-09-28  2005-10-10  2005-10-24  2005-11-07  2005-11-30
2005-09-18  2005-09-29  2005-10-11  2005-10-25  2005-11-08  2005-12-01
2005-09-19  2005-09-30  2005-10-12  2005-10-26  2005-11-11  index.html
2005-09-20  2005-10-01  2005-10-13  2005-10-27  2005-11-12  memstick.ind
2005-09-21  2005-10-02  2005-10-14  2005-10-28  2005-11-13  mstk_pro.ind
address@hidden Photos]$ find . -type d
.
./2005-11-30
./2005-11-30/thumbs
./2005-11-30/scaled
./2005-09-16
./2005-09-16/thumbs
./2005-09-16/scaled
./2005-09-17
./2005-09-17/thumbs
./2005-09-17/scaled
./2005-10-26
./2005-10-26/thumbs
./2005-10-26/scaled
./2005-11-18
./2005-11-18/thumbs
./2005-11-18/scaled
./2005-10-06
./2005-10-06/thumbs
./2005-10-06/scaled
./2005-10-12
./2005-10-12/thumbs
./2005-10-12/scaled
./2005-09-13
./2005-09-13/thumbs
./2005-09-13/scaled
./2005-10-13
./2005-10-13/thumbs
./2005-10-13/scaled
./2005-11-27
./2005-11-27/thumbs
./2005-11-27/scaled
./2005-11-07
./2005-11-07/thumbs
./2005-11-07/scaled
./2005-11-25
./2005-11-25/thumbs
./2005-11-25/scaled
./2005-11-03
./2005-11-03/thumbs
./2005-11-03/scaled
./2005-09-22
./2005-09-22/thumbs
./2005-09-22/scaled
./2005-10-28
./2005-10-28/thumbs
./2005-10-28/scaled
./2005-10-24
./2005-10-24/thumbs
./2005-10-24/scaled
./2005-11-24
./2005-11-24/thumbs
./2005-11-24/scaled
./2005-10-17
./2005-10-17/thumbs
./2005-10-17/scaled

I can workaround it by piping it to the sort command, but this shouldn't be
needed.



    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
dhammis --AT-- hotmail --DOT-- com  | Originator Email




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=15167>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]