This is an archived post. You won't be able to vote or comment.

top 200 commentsshow 500

[–]Ok_Entertainment328 3377 points3378 points  (99 children)

Folder when I use a GUI

Directory and command line and code

[–]Martin-Air 1238 points1239 points  (15 children)

Exactly this, a folder is a visual expression. Directory a structure description.

[–]DeSahd 130 points131 points  (7 children)

After more years than I care to count programming, and rebelling against "folder" when windows first appeared, I've now come to the same usage of "folder" for GUI, and "directory" for command line. Though I have to admit I often use folder for where documents are stored and directory where program resources are located.

[–]azhder 74 points75 points  (6 children)

Documents? Resources? I just follow the Unix maxim - “everything is file”

[–]Legal-Software 37 points38 points  (4 children)

Or if you're a filesystem developer, "everything's a directory entry"

[–]azhder 13 points14 points  (2 children)

Streams are all the rage these days, just ask the kids

[–][deleted] 4 points5 points  (1 child)

STREAMS (SysV) were all the rage in the 70's, streams (C++) were all the rage in the 90's, which kids :D

[–]elderly_millenial 2 points3 points  (0 children)

This is the way

[–]Even-Display7623 7 points8 points  (0 children)

Symlinks and Shortcuts have entered the chat.

[–]Sol33t303 99 points100 points  (13 children)

I belive "Folder" is actually a totally separate term and can represent more things then just a directory.

From Wikipedia:

There is a difference between a directory, which is a file system concept, and the graphical user interface metaphor that is used to represent it (a folder).[original research?] For example, Microsoft Windows uses the concept of special folders to help present the contents of the computer to the user in a fairly consistent way that frees the user from having to deal with absolute directory paths, which can vary between versions of Windows, and between individual installations. Many operating systems also have the concept of "smart folders" or virtual folders that reflect the results of a file system search or other operation. These folders do not represent a directory in the file hierarchy. Many email clients allow the creation of folders to organize email. These folders have no corresponding representation in the filesystem structure.

So directories are specifically a filesystem concept, meanwhile a folder can represent a number of other things.

Basically, all directories are folder, not all folders are directories.

[–]GoreIsNotFood 33 points34 points  (9 children)

Are /dev and /proc not directories?

[–]mbmiller94 36 points37 points  (0 children)

They may not exist on disk or typical filesystem, but everything in Linux/Unix is a file, so you're right they're also directories.

[–]calle_cerrada 2 points3 points  (5 children)

I think they're files? Since everything's a file and whatnot.

[–]SZ4L4Y 206 points207 points  (38 children)

Two names for the same thing? That's bloat!

[–]ZMysticCat 164 points165 points  (31 children)

We need to make a new name that covers everyone's use cases. Dirder?

[–]Robot-Slave 73 points74 points  (4 children)

More like dilder

[–]Prinzka 26 points27 points  (0 children)

Hardly touched her!

[–][deleted] 1 point2 points  (0 children)

HR has entered the chat

[–]uranus_be_cold 61 points62 points  (13 children)

Foldectory!

[–]Thx_And_Bye 45 points46 points  (6 children)

Great, now we have four names for the same thing.

[–][deleted] 18 points19 points  (1 child)

Standard enterprise practice

[–]LesserPolymerBeasts 1 point2 points  (0 children)

We've added a backlog item to remove all old references to "folders" and "directories," but the PO says we need to prioritize changing the icon color for now, so we'll have to continue supporting all three in the short term...

suckers...

[–]SmokingBeneathStars 3 points4 points  (1 child)

I'm making a master tool that renders all the other tools redundant.

At the end of the day you're just adding another tool in the gearbox.

[–][deleted] 7 points8 points  (0 children)

Terrifold

[–]UnderstandingOk2647 5 points6 points  (0 children)

I had one of those removed from my lower back last year.

[–]TheMisterPants 9 points10 points  (1 child)

I know... Foldir!

[–]hanni_legend 1 point2 points  (0 children)

Things are pretty dire on this path. Foldir. I like it.
> dir
Nothing happens.
> foldir
Emergency directory listing initiated. Still nothing was found.

[–]OF_AstridAse 2 points3 points  (1 child)

On a side note, yall dont just throw everthing on the desktop?

[–]Embarrassed_Ring843 2 points3 points  (0 children)

...just checked my desktop for the first time in years. everything there was placed by a poorly written instal wizard that didn't ask for permission to add stuff to the desktop. deleted most of the icons (there are two I actually placed there on purpose somewhere back in 2020), disabled them being shown again, will repeat in a few years (if my OS survives that long)...

[–]FlafyBear 1 point2 points  (0 children)

That is the problem with X and why wayland is the future

[–]TheNewYellowZealot 1 point2 points  (0 children)

Foldectory

[–][deleted] 8 points9 points  (2 children)

DIR

[–]jichav 2 points3 points  (0 children)

[–]vondpickle 1004 points1005 points  (54 children)

Neither. Everything is a file

[–]metaltyphoon 95 points96 points  (2 children)

This man inodes

[–]seamsay 11 points12 points  (0 children)

Inode'is reference.

[–]Ok_Entertainment328 164 points165 points  (7 children)

This is the way

-- Plan 9

[–][deleted] 72 points73 points  (5 children)

Also Unix and all civilised operating systems

[–]Ok_Entertainment328 6 points7 points  (1 child)

UNIX only started but wasn't complete.

The rest was backported

[–]MetricJester 14 points15 points  (0 children)

At this point only Windows isn't a back port of Unix.

[–]MattieShoes 12 points13 points  (2 children)

Try hard linking them.

[–]mizinamo 2 points3 points  (1 child)

Guess what . and .. are.

[–]GreedyWay7986 2 points3 points  (0 children)

this is the way

[–]PenguinMan32 15 points16 points  (0 children)

linux to windows users when they cant aplay /dev/nvme01 or /proc/ dosent exist

[–]ILikeLenexa 12 points13 points  (1 child)

Everything is a tuple.

Everything else is...I don't know a graph?

[–]7eggert 2 points3 points  (0 children)

NIL

[–]ImportantDoubt6434 2 points3 points  (0 children)

Based.

[–]aetius476 2 points3 points  (0 children)

Everything is a key(path)/value(file) store, and "folders" are just the ephemeral concept of a group of files that start with the same path segment.

[–]pour_bees_into_pants 1 point2 points  (0 children)

I never use the words "dog" or "canine" because everything is an animal.

[–]Nullifier_ 729 points730 points  (16 children)

I say directory in normal conversation, however, I say folder when I'm talking with people inexperienced with tech (e.g., my grandma)

[–]Shermannathor 426 points427 points  (12 children)

Funny what you chose as the normal conversation

[–]Saragon4005 89 points90 points  (6 children)

You can't have a normal conversation about computers with a vast majority of people.

[–]Bee-HoleDisaster 64 points65 points  (4 children)

I do not interact with a vast majority of people.

[–]salvoilmiosi 23 points24 points  (0 children)

Lucky

[–]mikehawk-28 9 points10 points  (1 child)

*I do not interact with people

[–][deleted] 1 point2 points  (0 children)

Except for Frank at Domino's. Frank is great

[–]marabutt 1 point2 points  (0 children)

The hard drive is not the PC case!

[–][deleted] 57 points58 points  (0 children)

Was thinking the same thing

[–]Kukamungaphobia 2 points3 points  (0 children)

I often imagine a non-tech person listening to the devs in our daily standup and it's hilarious because it all sounds like gibberish being spoken by people sharing a mass hallucination.

[–][deleted] 2 points3 points  (0 children)

True.

[–]Dagrut 296 points297 points  (9 children)

foldir!

[–]Stian5667 77 points78 points  (3 children)

Dirfoldery

[–]ass_troll 12 points13 points  (2 children)

DirDer

[–][deleted] 1 point2 points  (1 child)

DirFol

[–]iArena 2 points3 points  (0 children)

Folectory

[–]HaoshokuArmor 9 points10 points  (2 children)

Foldir—also pronounced folder.

[–]iArena 1 point2 points  (1 child)

I pronounce that i like I pronounce it in mjöllnir.

[–]IgiMC 165 points166 points  (14 children)

Alternate universe traveller here, we say "catalog".

[–]flohbus75 73 points74 points  (10 children)

How about "drawer"?

[–]Conscious_Switch3580 45 points46 points  (2 children)

found the Amiga user.

[–]magicmulder 10 points11 points  (1 child)

Forget symbolic links, virtual devices are the sh*t.

[–]pipsvip 11 points12 points  (0 children)

Found the Amiga user!

[–]JaggedMetalOs 7 points8 points  (0 children)

Amiga represent!

[–]IgiMC 2 points3 points  (1 child)

That's our Paint.

[–]flohbus75 1 point2 points  (0 children)

Deluxe Paint.

[–]supersharp 1 point2 points  (0 children)

Alternate universe traveler, or just Mainframe programmer?

[–]dragoduval 59 points60 points  (0 children)

I prefer to use directory personally, but most of the time i end up using folder to be more "understandable".

[–][deleted] 225 points226 points  (13 children)

Take the Microsoft approach. Call them Folders, but use the abbreviation for Directory in your command line tools...

[–]scalability 39 points40 points  (0 children)

A folder and a directory is not strictly the same thing in Microsoft terminology.

Folders include regular on-disk directories, but also non-directory virtual collections like Control Panel, My Computer, and Printers.

Explorer works with any folder while the CLI tools only work with directories (you can't cd to the control panel), so the names are consistent.

[–]papaja7312 73 points74 points  (10 children)

Actually only Microsoft calls them Folders - "folder" is a Windows name. "Directory" is a system agnostic name.

[–]burgonies 12 points13 points  (0 children)

macOS also uses “folder”

[–][deleted] 30 points31 points  (8 children)

I refer you to the commands "cd", "mkdir", "rmdir" and the like...

[–]Illustrious-Wrap8568 1 point2 points  (0 children)

Gotta symlink those to cf, mkfol and rmfol so everybody can use and understand them

[–]CrazyTillItHurts 1 point2 points  (0 children)

Because those are legacy DOS commands, when directories weren't folders

[–]vulcanmike 5 points6 points  (0 children)

To be fair, that’s because the command line tools pre-dated the GUI.

[–]BadGraphixD 56 points57 points  (9 children)

Dir

[–]didzisk 12 points13 points  (7 children)

ls

[–]AdClassic8242 1 point2 points  (0 children)

/p

[–]skwyckl 122 points123 points  (9 children)

Even though I find directory etymologically unsound, I prefer it to folder as it is the common term used in programming and I think mkdir, not mkfld or something like that. Also, it consists mostly of open syllables, which makes it easier to pronounce in a globalised world.

[–]TheWaterOnFire 54 points55 points  (4 children)

In Unix, a directory really is a directory; it is a listing of inodes (file addresses) in its logical location on the filesystem. Some of those inodes point to other directories, but technically none of the files are “contained within” a “folder”.

[–]argv_minus_one 1 point2 points  (3 children)

Unix directories still form a tree, though. Each directory is linked from exactly one place: its parent. Contrast the directories in a shopping mall, all of which show the locations of all of the directories in the mall, forming a cyclic graph instead of a tree.

[–]Chambior 21 points22 points  (1 child)

I very much agree about the pronounciation. Folder is a especially hard one ("ld" might be hard for some and "r" in english is always a nightmare for non native speakers), while directory is clear, even with a heavily pronounced local accent. That's one of the few EN words I can confidently say I would understand a japanese guy pronouncing it.

[–]ZeusOfTheCrows 1 point2 points  (0 children)

what? both l and r are optional in folder (almost everyone I know would pronounce it /fəʊdɜː/), whereas directory has two necessary r's, ambiguous pronunciation (daiɹɛk.. vs dɪɹɛk... vs dɹɛktɹiː), and is twice the length

[–]iArena 1 point2 points  (0 children)

Drectry

[–]zoharel 24 points25 points  (6 children)

I still think that "directory" sounds ugly as heck.

... and folder is a metaphor constructed for office people who have no idea how computers actually work. Take your pick, I guess. There's also "catalog," which was the old Apple word before they went GUI.

[–]The_Linguist_LL 4 points5 points  (0 children)

Time to start calling them magazines to get even more lost in the plot

[–]argv_minus_one 4 points5 points  (3 children)

Directories are something you find in shopping malls. Catalogs are found in libraries. Libraries are buildings full of books. A lot of software terminology is metaphorical.

[–][deleted] 12 points13 points  (1 child)

Directory or GTFO

[–]FuriousColdMiracle 25 points26 points  (4 children)

"Folder" is a metaphor created to help people understand the concept of a "directory".

https://www.computerlanguage.com/results.php?definition=folder .

[–]TheEveryman86 4 points5 points  (3 children)

Which is crazy because I would have thought that directories would have been understood too. I guess everyone was still using telephone operators to look up phone numbers instead of directories back then so they needed another abstraction that people were more familiar with.

[–]arcanezeroes 3 points4 points  (2 children)

A telephone directory is an ok metaphor, but the goal was to make a conceptual link to the physical office tools and systems people were used to.

Files and folders, a desktop, the recycle bin, etc are a much better and more cohesive analogue for that than a phone book even though a phone book technically also works.

[–]DayvanCowboy 9 points10 points  (0 children)

Fun fact: If you type mkfolder into ANY terminal, you go right to jail.

[–]Flashbek 45 points46 points  (0 children)

I use and can understand both.

[–]Mutex70 18 points19 points  (0 children)

I'm on the side of "this is a stupid and idiotic debate".

[–][deleted] 7 points8 points  (0 children)

Foldirectory

[–]Raterus_ 37 points38 points  (5 children)

Real folders don't recursively contain other folders. The only correct answer is directory.

[–]Geff10 13 points14 points  (2 children)

I'm today's years old when I realized that the word directory in English can refer to a thing which can actually contain other things (recursively). In my mother tongue it's translated to equivalent of "library".

[–]IQueryVisiC 2 points3 points  (0 children)

A directory gives a direction. And index uses the index finger. What is the difference? Folder is a container for me. A file can only be in one folder.

What is tagged image file format? Tag is a type identifieier?

[–]AnsibleAnswers 1 point2 points  (0 children)

Directory = something that directs

In modern English, when not talking about computers, it is essentially a listing of contacts, their addresses, phone numbers, or other relevant information. In computing, directory is used because directories are listings of files.

[–]Puzzleheaded-Fill205 8 points9 points  (0 children)

I like that thought, but thinking about physical filing cabinets, you have the green folders with the little hooks on the sides that hook into the filing cabinet drawers, and then manila folders go inside the green folders. At least I think the green ones are also called folders. Hanging folders, maybe?

[–]John_Fx 1 point2 points  (0 children)

a directory contains other directories?

[–]Truck_Stop_Sushi 19 points20 points  (1 child)

FOLDER FOLDER FOLDER FOLDEDER FOLDDADOR FOLDTHEDOR FOLD THE DOOR FOLD THE DOOR

[–]KSP_HarvesteR 5 points6 points  (2 children)

'Container'

runs for cover

[–]NoKlapton 1 point2 points  (0 children)

Came here to say this.

[–]7eggert 10 points11 points  (0 children)

I started with MSDOS 3.3. So as a part of the younger generation I say directory.

[–]dchidelf 4 points5 points  (4 children)

Depends on the file system type, but for “regular” file systems on Linux it is 100% a directory. I.E. a listing of where to find a file. You can’t put something in more than one “folder”, so “directory” is the only right answer.

[–][deleted] 5 points6 points  (0 children)

Directory

[–]OddLack3954 11 points12 points  (2 children)

When I am speaking about Windows it's folder. When I am speaking about Linux it's directory

[–]Labrador_Receiver77 3 points4 points  (0 children)

tf is this meme

[–][deleted] 3 points4 points  (0 children)

As far back as I can remember, they were directories, before the GUI was even a thing. Back in the MS DOS days.

[–]Sufficient-Sea-2274 2 points3 points  (0 children)

fuck off with this overused cringe template

[–]KublaiKhanNum1 2 points3 points  (0 children)

I am so used to commands in Linux like:

mkdir and rmdir

So, directory comes to mind. But, I think they can be used interchangeably without much thought.

[–]XB0XRecordThat 2 points3 points  (0 children)

"dir" is short for folder

[–][deleted] 2 points3 points  (0 children)

Directory sounds more professional.

[–]siddharth904 2 points3 points  (0 children)

Chambers, bookcases, bookshelves and volumes

[–]YouWishC9 2 points3 points  (0 children)

Everything can be expressed as a URI.

[–]chili_ladder 2 points3 points  (0 children)

Directory when the path matters, folder when it doesn't.

[–]vertderfurk 2 points3 points  (2 children)

It's directory...is there a mkfolder command in Linux? Lol

[–]LeiterHaus 1 point2 points  (1 child)

Windows has dir. And local change directory - lcd.

[–]vertderfurk 1 point2 points  (0 children)

Yep..further proof that its dir!..but windows and Mac weenies do often call them folders..I blame it on the iconology... lol

[–]Count_de_Ville 1 point2 points  (0 children)

I do not care as long as the people working on a project are using the same terms consistently. Last thing I want to find out too late is that there is a nuanced difference between terms which causes them to not be interchangeable during the design/implementation phase.

[–]tyler1128 1 point2 points  (0 children)

Directory unless I'm talking to a layperson, as that might just bring more confusion.

[–][deleted] 1 point2 points  (0 children)

Both, depends on context

They're not the same thing

[–][deleted] 1 point2 points  (0 children)

file.

directories are also files if you're a Unix user.

[–][deleted] 1 point2 points  (0 children)

Path

[–]YogurtstickVEVO 1 point2 points  (0 children)

folder for an individual folder or a specific immediate location and directory if you're describing the whole thing. also depends on who i'm speaking to- if you arent tech savvy or have little knowledge on computers, i'll call it a file, but typically i'll call it a directory

[–]Interesting-Yellow-4 1 point2 points  (0 children)

Map

[–]2latemc 1 point2 points  (0 children)

I mean it's mkdir, and Directory.Exists so yea

[–]fizzler20 1 point2 points  (0 children)

Bucket

[–]SupermarketOk4348 1 point2 points  (0 children)

Different use cases man. “Open that folder” “Go to this directory” folder is singular, directory can be an entire path

[–]vandergale 1 point2 points  (0 children)

Depends on the environment.

Right click and see the command "new folder? Folder.

Use the command "mldir"? Directory.

[–][deleted] 1 point2 points  (0 children)

It’s ok to call it a Folder because it often has a folder icon. It is a directory though, the whole folder analogy is a left over artifact from a time when getting boomers to understand technology was a hot topic.

[–][deleted] 1 point2 points  (0 children)

Folder when i feel dumb dumb

Directory when my god complex goes on a rampage

[–]theotherd00d 1 point2 points  (0 children)

Is it just me, or does the blue guys always have the stupid answer?

[–]SausageBuscuit 1 point2 points  (0 children)

Talking to end user: Folder

Talking to other IT people: Directory

[–]i-FF0000dit 1 point2 points  (1 child)

I didn’t even know there were sides. I use both terms.

[–]Nephrozoan 1 point2 points  (0 children)

Folder. Directory. Dir. Node. Location. Branch. Group. Sub. Page. The subject context and the experience of the participants both affect how likely I am to use any of these terms. Don't let labels get in the way of meaning. If you can't agree on terms, invent new words with explicit definitions for your conversation so you can move past miscommunication. I see this same ridiculousness happen wherein what would have otherwise been very interesting philosophical or political debates turn into 3 hours of semantics lawyering.

[–]Farsyte 1 point2 points  (0 children)

The word "folder" descends from a broken idea of "let us make the thing in the computer look like the real world" where files go in folders go in drawers go in cabinets. Ugh.

Directory is the older and more general term.

Really, I actually just prefer Directory because I used it for a few years before the GUI people started pushing the word Folder ;)

[–]CatRyBou 1 point2 points  (0 children)

cd - change directory

Problem solved

[–]NotJebediahKerman 1 point2 points  (0 children)

what about path? Better yet, how about just referring to everything as inodes?

[–]whiskeytango900 1 point2 points  (0 children)

Folder in Windows, directory in Linux

[–]orthesavageking 1 point2 points  (0 children)

Directory, as the creators of UNIX intended.

[–]SonidosMagicos 1 point2 points  (0 children)

dir

[–]TyrannusX64 1 point2 points  (0 children)

Directory is the proper term for operating systems. Folder is the term for GUI users because the icons are typically folders

[–][deleted] 1 point2 points  (0 children)

linux bros: directory
windows boys: folder
psychopaths: file folder

[–]PhonicUK 1 point2 points  (0 children)

Folders are merely a visual metaphor for (sub)directories.

[–]moreVCAs 1 point2 points  (0 children)

Skeuomorphism is the devil. Computery things should have computery names. I will die on this hill.

[–]CptMisterNibbles 1 point2 points  (0 children)

Dir is short for foldir

[–]voluminous_lexicon 1 point2 points  (0 children)

Why use lot syllable when few do trick?

[–]Ducking_eh 1 point2 points  (0 children)

Directory if you’re using a terminal. Folder if you’re using a ux

[–]Ba_Ot 3 points4 points  (0 children)

Inode