Is there a general term for the items in a directory?How would I programmatically find the mount options for the file system that the current directory is on?Which filesystems provide good support for LARGE file and directories in general?Why is there a // directory?Is there a race condition when two computers have the same remote directory mounted over NFSUnable to Create Files In DirectoryImplementing folder “hardlinks” on NTFSFilesystems on external: FS vs FS vs Case Firmware and some odd EXT4 behaviourHow does a case-insensitive filesystem access files?Why isn't the directory size the same as the sum of its children for Windows 10Generate file:// URL for local file or directory

How do I safety check that there is no light in Darkroom / Darkbag?

Is this popular optical illusion made of a grey-scale image with coloured lines?

Can machine learning learn a function like finding maximum from a list?

Adjective for when skills are not improving and I'm depressed about it

A game of red and black

Why did the United States not resort to nuclear weapons in Vietnam?

Can black block with a hanging piece in a back rank mate situation?

Guidelines for writing a chord progression

Why have both: BJT and FET transistors on IC output?

Why are prop blades not shaped like household fan blades?

Is it moral to remove/hide certain parts of a photo, as a photographer?

How can flights operated by the same company have such different prices when marketed by another?

Is the EU really banning "toxic propellants" in 2020? How is that going to work?

Security measures that could plausibly last 150+ years?

Normally Closed Optoisolators

Accurately recalling the key - can everyone do it?

Applying for mortgage when living together but only one will be on the mortgage

How to prevent a single-element caster from being useless against immune foes?

Python π = 1 + (1/2) + (1/3) + (1/4) - (1/5) + (1/6) + (1/7) + (1/8) + (1/9) - (1/10) ...1748 Euler

When did J.K. Rowling decide to make Ron and Hermione a couple?

Is this mechanically safe?

What is my clock telling me to do?

Should students have access to past exams or an exam bank?

Reasons for using monsters as bioweapons



Is there a general term for the items in a directory?


How would I programmatically find the mount options for the file system that the current directory is on?Which filesystems provide good support for LARGE file and directories in general?Why is there a // directory?Is there a race condition when two computers have the same remote directory mounted over NFSUnable to Create Files In DirectoryImplementing folder “hardlinks” on NTFSFilesystems on external: FS vs FS vs Case Firmware and some odd EXT4 behaviourHow does a case-insensitive filesystem access files?Why isn't the directory size the same as the sum of its children for Windows 10Generate file:// URL for local file or directory






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I'm just curious if there's a standard computer term that encompasses everything in a directory, instead of always having to mention "files" and "(sub)directories/folders" separately. So you could say, loop through all the terms in dir_1.



Edit: Just to be clear, I'm looking for a singular term, as in my example sentence.










share|improve this question


























  • You are asking about "items" in a directory as in "plural" so why are you looking for a "singular" term? You don't loop thru "item" in a directory but you can loop thru "items" in a directory term wise. If you loop thru a directory and there is only one item, then technically that will work, but "term" wise, your edit seems a bit odd language wise.

    – Pimp Juice IT
    38 mins ago


















1















I'm just curious if there's a standard computer term that encompasses everything in a directory, instead of always having to mention "files" and "(sub)directories/folders" separately. So you could say, loop through all the terms in dir_1.



Edit: Just to be clear, I'm looking for a singular term, as in my example sentence.










share|improve this question


























  • You are asking about "items" in a directory as in "plural" so why are you looking for a "singular" term? You don't loop thru "item" in a directory but you can loop thru "items" in a directory term wise. If you loop thru a directory and there is only one item, then technically that will work, but "term" wise, your edit seems a bit odd language wise.

    – Pimp Juice IT
    38 mins ago














1












1








1








I'm just curious if there's a standard computer term that encompasses everything in a directory, instead of always having to mention "files" and "(sub)directories/folders" separately. So you could say, loop through all the terms in dir_1.



Edit: Just to be clear, I'm looking for a singular term, as in my example sentence.










share|improve this question
















I'm just curious if there's a standard computer term that encompasses everything in a directory, instead of always having to mention "files" and "(sub)directories/folders" separately. So you could say, loop through all the terms in dir_1.



Edit: Just to be clear, I'm looking for a singular term, as in my example sentence.







filesystems






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 5 hours ago







Mason

















asked 8 hours ago









MasonMason

62 bronze badges




62 bronze badges















  • You are asking about "items" in a directory as in "plural" so why are you looking for a "singular" term? You don't loop thru "item" in a directory but you can loop thru "items" in a directory term wise. If you loop thru a directory and there is only one item, then technically that will work, but "term" wise, your edit seems a bit odd language wise.

    – Pimp Juice IT
    38 mins ago


















  • You are asking about "items" in a directory as in "plural" so why are you looking for a "singular" term? You don't loop thru "item" in a directory but you can loop thru "items" in a directory term wise. If you loop thru a directory and there is only one item, then technically that will work, but "term" wise, your edit seems a bit odd language wise.

    – Pimp Juice IT
    38 mins ago

















You are asking about "items" in a directory as in "plural" so why are you looking for a "singular" term? You don't loop thru "item" in a directory but you can loop thru "items" in a directory term wise. If you loop thru a directory and there is only one item, then technically that will work, but "term" wise, your edit seems a bit odd language wise.

– Pimp Juice IT
38 mins ago






You are asking about "items" in a directory as in "plural" so why are you looking for a "singular" term? You don't loop thru "item" in a directory but you can loop thru "items" in a directory term wise. If you loop thru a directory and there is only one item, then technically that will work, but "term" wise, your edit seems a bit odd language wise.

– Pimp Juice IT
38 mins ago











3 Answers
3






active

oldest

votes


















3














File. At least in POSIX-compliant systems.




3.164 File



An object that can be written to, or read from, or both. A file has certain attributes, including access permissions and type. File types include regular file, character special file, block special file, FIFO special file, symbolic link, socket, and directory. Other types of files may be supported by the implementation.




(source)



People saying "files" when they mean only "regular files" are not really POSIX-compliant. :)



You can learn what POSIX is from answers to this question. Various operating systems are POSIX-compliant (fully or mostly) or not. Without going into details, this answer applies to Unix and Unix-like systems (including macOS, Linux, BSD), but not to Windows family in general.






share|improve this answer


































    2














    Good question.



    I use "contents" as a term that encompasses both files and subfolders.



    For example: "We need to copy all of the contents of that directory."






    share|improve this answer

























    • This kinda duplicates Hannu's answer.

      – fixer1234
      6 hours ago












    • Nope. "Content" is grammatically incorrect. "Contents" is the correct term here. "In the plural, 'contents' refers to the things contained in something." jakubmarian.com/content-vs-contents-in-english

      – wrecclesham
      6 hours ago












    • I guess it was kind of ambiguous, but I was looking for a singular term. I just added a clarification to my question.

      – Mason
      5 hours ago











    • @Mason .... you are asking about items and thus to people with the mind set like me since you are asking about "terms" in particular, you are not asking about a singular object so contents does seem to fit better.

      – Pimp Juice IT
      36 mins ago


















    0














    Why not raise the abstraction level instead of using just "computer terms":

    Step up to more general wording...



    A mature filesystem stores content.



    It allows 'files' and 'folders' as basic content.

    Most often a 'folder' then may store sublevels of content...



    Depending on the choice of filesystem there may be other content types.






    share|improve this answer



























      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "3"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1467102%2fis-there-a-general-term-for-the-items-in-a-directory%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      3














      File. At least in POSIX-compliant systems.




      3.164 File



      An object that can be written to, or read from, or both. A file has certain attributes, including access permissions and type. File types include regular file, character special file, block special file, FIFO special file, symbolic link, socket, and directory. Other types of files may be supported by the implementation.




      (source)



      People saying "files" when they mean only "regular files" are not really POSIX-compliant. :)



      You can learn what POSIX is from answers to this question. Various operating systems are POSIX-compliant (fully or mostly) or not. Without going into details, this answer applies to Unix and Unix-like systems (including macOS, Linux, BSD), but not to Windows family in general.






      share|improve this answer































        3














        File. At least in POSIX-compliant systems.




        3.164 File



        An object that can be written to, or read from, or both. A file has certain attributes, including access permissions and type. File types include regular file, character special file, block special file, FIFO special file, symbolic link, socket, and directory. Other types of files may be supported by the implementation.




        (source)



        People saying "files" when they mean only "regular files" are not really POSIX-compliant. :)



        You can learn what POSIX is from answers to this question. Various operating systems are POSIX-compliant (fully or mostly) or not. Without going into details, this answer applies to Unix and Unix-like systems (including macOS, Linux, BSD), but not to Windows family in general.






        share|improve this answer





























          3












          3








          3







          File. At least in POSIX-compliant systems.




          3.164 File



          An object that can be written to, or read from, or both. A file has certain attributes, including access permissions and type. File types include regular file, character special file, block special file, FIFO special file, symbolic link, socket, and directory. Other types of files may be supported by the implementation.




          (source)



          People saying "files" when they mean only "regular files" are not really POSIX-compliant. :)



          You can learn what POSIX is from answers to this question. Various operating systems are POSIX-compliant (fully or mostly) or not. Without going into details, this answer applies to Unix and Unix-like systems (including macOS, Linux, BSD), but not to Windows family in general.






          share|improve this answer















          File. At least in POSIX-compliant systems.




          3.164 File



          An object that can be written to, or read from, or both. A file has certain attributes, including access permissions and type. File types include regular file, character special file, block special file, FIFO special file, symbolic link, socket, and directory. Other types of files may be supported by the implementation.




          (source)



          People saying "files" when they mean only "regular files" are not really POSIX-compliant. :)



          You can learn what POSIX is from answers to this question. Various operating systems are POSIX-compliant (fully or mostly) or not. Without going into details, this answer applies to Unix and Unix-like systems (including macOS, Linux, BSD), but not to Windows family in general.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 5 hours ago

























          answered 7 hours ago









          Kamil MaciorowskiKamil Maciorowski

          32.3k16 gold badges62 silver badges93 bronze badges




          32.3k16 gold badges62 silver badges93 bronze badges


























              2














              Good question.



              I use "contents" as a term that encompasses both files and subfolders.



              For example: "We need to copy all of the contents of that directory."






              share|improve this answer

























              • This kinda duplicates Hannu's answer.

                – fixer1234
                6 hours ago












              • Nope. "Content" is grammatically incorrect. "Contents" is the correct term here. "In the plural, 'contents' refers to the things contained in something." jakubmarian.com/content-vs-contents-in-english

                – wrecclesham
                6 hours ago












              • I guess it was kind of ambiguous, but I was looking for a singular term. I just added a clarification to my question.

                – Mason
                5 hours ago











              • @Mason .... you are asking about items and thus to people with the mind set like me since you are asking about "terms" in particular, you are not asking about a singular object so contents does seem to fit better.

                – Pimp Juice IT
                36 mins ago















              2














              Good question.



              I use "contents" as a term that encompasses both files and subfolders.



              For example: "We need to copy all of the contents of that directory."






              share|improve this answer

























              • This kinda duplicates Hannu's answer.

                – fixer1234
                6 hours ago












              • Nope. "Content" is grammatically incorrect. "Contents" is the correct term here. "In the plural, 'contents' refers to the things contained in something." jakubmarian.com/content-vs-contents-in-english

                – wrecclesham
                6 hours ago












              • I guess it was kind of ambiguous, but I was looking for a singular term. I just added a clarification to my question.

                – Mason
                5 hours ago











              • @Mason .... you are asking about items and thus to people with the mind set like me since you are asking about "terms" in particular, you are not asking about a singular object so contents does seem to fit better.

                – Pimp Juice IT
                36 mins ago













              2












              2








              2







              Good question.



              I use "contents" as a term that encompasses both files and subfolders.



              For example: "We need to copy all of the contents of that directory."






              share|improve this answer













              Good question.



              I use "contents" as a term that encompasses both files and subfolders.



              For example: "We need to copy all of the contents of that directory."







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered 6 hours ago









              wreccleshamwrecclesham

              1268 bronze badges




              1268 bronze badges















              • This kinda duplicates Hannu's answer.

                – fixer1234
                6 hours ago












              • Nope. "Content" is grammatically incorrect. "Contents" is the correct term here. "In the plural, 'contents' refers to the things contained in something." jakubmarian.com/content-vs-contents-in-english

                – wrecclesham
                6 hours ago












              • I guess it was kind of ambiguous, but I was looking for a singular term. I just added a clarification to my question.

                – Mason
                5 hours ago











              • @Mason .... you are asking about items and thus to people with the mind set like me since you are asking about "terms" in particular, you are not asking about a singular object so contents does seem to fit better.

                – Pimp Juice IT
                36 mins ago

















              • This kinda duplicates Hannu's answer.

                – fixer1234
                6 hours ago












              • Nope. "Content" is grammatically incorrect. "Contents" is the correct term here. "In the plural, 'contents' refers to the things contained in something." jakubmarian.com/content-vs-contents-in-english

                – wrecclesham
                6 hours ago












              • I guess it was kind of ambiguous, but I was looking for a singular term. I just added a clarification to my question.

                – Mason
                5 hours ago











              • @Mason .... you are asking about items and thus to people with the mind set like me since you are asking about "terms" in particular, you are not asking about a singular object so contents does seem to fit better.

                – Pimp Juice IT
                36 mins ago
















              This kinda duplicates Hannu's answer.

              – fixer1234
              6 hours ago






              This kinda duplicates Hannu's answer.

              – fixer1234
              6 hours ago














              Nope. "Content" is grammatically incorrect. "Contents" is the correct term here. "In the plural, 'contents' refers to the things contained in something." jakubmarian.com/content-vs-contents-in-english

              – wrecclesham
              6 hours ago






              Nope. "Content" is grammatically incorrect. "Contents" is the correct term here. "In the plural, 'contents' refers to the things contained in something." jakubmarian.com/content-vs-contents-in-english

              – wrecclesham
              6 hours ago














              I guess it was kind of ambiguous, but I was looking for a singular term. I just added a clarification to my question.

              – Mason
              5 hours ago





              I guess it was kind of ambiguous, but I was looking for a singular term. I just added a clarification to my question.

              – Mason
              5 hours ago













              @Mason .... you are asking about items and thus to people with the mind set like me since you are asking about "terms" in particular, you are not asking about a singular object so contents does seem to fit better.

              – Pimp Juice IT
              36 mins ago





              @Mason .... you are asking about items and thus to people with the mind set like me since you are asking about "terms" in particular, you are not asking about a singular object so contents does seem to fit better.

              – Pimp Juice IT
              36 mins ago











              0














              Why not raise the abstraction level instead of using just "computer terms":

              Step up to more general wording...



              A mature filesystem stores content.



              It allows 'files' and 'folders' as basic content.

              Most often a 'folder' then may store sublevels of content...



              Depending on the choice of filesystem there may be other content types.






              share|improve this answer





























                0














                Why not raise the abstraction level instead of using just "computer terms":

                Step up to more general wording...



                A mature filesystem stores content.



                It allows 'files' and 'folders' as basic content.

                Most often a 'folder' then may store sublevels of content...



                Depending on the choice of filesystem there may be other content types.






                share|improve this answer



























                  0












                  0








                  0







                  Why not raise the abstraction level instead of using just "computer terms":

                  Step up to more general wording...



                  A mature filesystem stores content.



                  It allows 'files' and 'folders' as basic content.

                  Most often a 'folder' then may store sublevels of content...



                  Depending on the choice of filesystem there may be other content types.






                  share|improve this answer













                  Why not raise the abstraction level instead of using just "computer terms":

                  Step up to more general wording...



                  A mature filesystem stores content.



                  It allows 'files' and 'folders' as basic content.

                  Most often a 'folder' then may store sublevels of content...



                  Depending on the choice of filesystem there may be other content types.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 6 hours ago









                  HannuHannu

                  4,4691 gold badge11 silver badges25 bronze badges




                  4,4691 gold badge11 silver badges25 bronze badges






























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Super User!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1467102%2fis-there-a-general-term-for-the-items-in-a-directory%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      ParseJSON using SSJSUsing AMPscript with SSJS ActivitiesHow to resubscribe a user in Marketing cloud using SSJS?Pulling Subscriber Status from Lists using SSJSRetrieving Emails using SSJSProblem in updating DE using SSJSUsing SSJS to send single email in Marketing CloudError adding EmailSendDefinition using SSJS

                      Кампала Садржај Географија Географија Историја Становништво Привреда Партнерски градови Референце Спољашње везе Мени за навигацију0°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.340°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.34МедијиПодациЗванични веб-сајту

                      19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу