Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-16944

lfs find: incomplete results when multiple paths precede negated expression

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      When lfs find is used with multiple paths, the final path is not searched if the first option following that path is a ! or an option without an argument, like print:

      $ mkdir /mnt/lustre/{a,b}
      $ touch /mnt/lustre/{a,b}/f
      
      $ lfs find /mnt/lustre/{a,b} ! -type d
      /mnt/lustre/a/f
      
      $ lfs find /mnt/lustre/{a,b} -print
      /mnt/lustre/a
      /mnt/lustre/a/f 

       

      Attachments

        Activity

          People

            bertschinger Thomas Bertschinger
            bertschinger Thomas Bertschinger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: