About 2,580,000 results
Open links in new tab
  1. What is the difference between a directory and a folder?

    Jul 16, 2021 · Check "The folder metaphor" section at Wikipedia. It states: There is a difference between a directory, which is a file system concept, and the graphical user interface metaphor that is used to …

  2. directory - What are ./ and ../ directories? - Unix & Linux Stack Exchange

    Every directory on a Unix system (and probably every other system too) contains at least two directory entries. These are . (current directory) and .. (parent directory). In the case of the root directory, …

  3. windows - What are "." and ".." in a directory? - Super User

    The . is the current directory, while .. signifies the parent directory. It makes things quicker at the command line as well so you don't need to type out full paths. example: go up 2 directories: cd ..\..\ …

  4. How do I check if a directory exists in Python? - Stack Overflow

    A word of warning - the highest rated answer might be susceptible to race conditions. You might want to perform os.stat instead, to see if the directory both exists and is a directory at the same moment.

  5. How do I remove a directory and all its contents?

    In bash all I know is that rmdir directoryname will remove the directory but only if it's empty. Is there a way to force remove subdirectories?

  6. git - What's the difference between working directory and local ...

    Working directory is the directory with your source files under git control (in the root of all dirs under control .git file is present). Git is tracking the difference between your working directory and local …

  7. "No such file or directory" but it exists - Stack Overflow

    Oct 16, 2010 · bash: ./terragrunt: No such file or directory Problem was that there was two installations of terragrunt, used brew uninstall terragrunt to remove one fixed it.

  8. How do I list all files of a directory? - Stack Overflow

    Jul 9, 2010 · How can I list all files of a directory in Python and add them to a list?

  9. Command prompt won't change directory to another drive

    10 If you want to change from current working directory to another directory then in the command prompt you need to type the name of the drive you need to change to, followed by : symbol. …

  10. How do I get the full path of the current file's directory?

    Path() is the current working directory, not the directory of the script. This only "works" in the few cases where the script actually is in the current working directory.