Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8934

Shell command ls should include sort options

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • fs
    • None
    • Options to sort output of fs -ls comment: -t (mtime), -S (size), -u (atime), -r (reverse)

    Description

      The shell command ls should include options to sort the output similar to the unix ls command. The following options seem appropriate:
      -t : sort by modification time
      -S : sort by file size
      -r : reverse the sort order
      -u : use access time rather than modification time for sort and display

      Attachments

        1. HADOOP-8934.patch
          65 kB
          Jonathan Allen
        2. HADOOP-8934.patch
          68 kB
          Jonathan Allen
        3. HADOOP-8934.patch
          65 kB
          Jonathan Allen
        4. HADOOP-8934.patch
          74 kB
          Jonathan Allen
        5. HADOOP-8934.patch
          72 kB
          Jonathan Allen
        6. HADOOP-8934.patch
          69 kB
          Jonathan Allen
        7. HADOOP-8934.patch
          70 kB
          Jonathan Allen
        8. HADOOP-8934.patch
          71 kB
          Jonathan Allen

        Issue Links

          Activity

            People

              jonallen Jonathan Allen
              jonallen Jonathan Allen
              Votes:
              1 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: