yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Folders Slashes and Collons


2m read
·Nov 3, 2024

This Mac kids and all with a video on what I like to call folders, slashes, and colons.

So first of all, let me explain what it's about. On the file system on the Mac, or any Unix file system for that matter, it works out to be that a slash is the tree; it's the root of the tree. Then a folder comes off of that, so you'd represent it by slash folder. A folder can come off of that folder, so it's slash folder slash folder, etc.

So slashes are a magic character in the file system that represents a new level, basically. How can file and folder names have slash in them? They can't. It doesn't make any sense because if you add a file called slash, you put it in slash, you CD to slash, then you type RM slash, and that would delete slash, not the file.

Then why can we create a folder or a file on the Mac called slash? I have this folder called slash on my desktop. I used Finder to name it slash, save it, slash, a slash. This is obviously not... it can't have slashes in it.

Today, why does it let me put slashes in its name? Well, I figured out how it lets you do that. If you go into Terminal, you know whenever you drag a folder in, it gives you the name of the folder. It says slash user slash desktop slash a colon a colon a. Because any folder file name can, of course, have a cool indent, but if I try to name this colon, it doesn't let me name it colon.

So obviously, Apple thinks, um, the colons are less important than slashes because if I make a folder on my desktop through Terminal called folder colon folder, it'll appear as folder slash folder. So they've replaced... they make... whenever you create a folder or file with a slash in its name, you're actually creating a folder file with a colon in its name.

And since you can't use colons in names in Finder anymore because they just look like slashes, what are you gonna do, Apple? Apple took out the character that you wouldn't, that you shouldn't be able to put in folder names and replaced the character that you, well, should be able to put with it.

So it's totally absurd, in my opinion, but it also makes total sense. These folders are not what they're named, and once you're typing paths to guess where a file or folder is, you don't want to think it has flashes in its name.

So I thought it was important for me to make this video just to show you guys what it is that factor really does to allow you to create slashes in a folder name. Because Apple totally, um, confused me, and someone asked me what happens if I create a folder in my slash called slash, and I type RM.

That's sharp slash, um, and the fact is that that would delete your hard drive. So if I do, doesn't create folders with slashes in their name. The reason they probably did that is so you can put dates in your violet, and they didn't find the colons were as important.

Thanks for watching, Mac kids in one. Subscribe and goodbye.

More Articles

View All
Ask me anything with Sal Khan: #GivingTuesdayNow | Homeroom with Sal
Hello, welcome to our daily homeroom livestream! For those of y’all that this is your first time coming, this is something that we started doing when we started seeing school closures around the world. Khan Academy, we are a not-for-profit with a mission …
I Just Lost $1.5 Million In Stocks
What’s up guys, it’s Graham here. So let’s be real, everyone always talks about their wins or how they knew and predicted that some obscure event was going to happen in the future. But in a market like this, I think it’s really important that we talk abou…
Determining whether values are in domain of function
We’re asked to determine for each x value whether it is in the domain of f or not, and they have our definition of f of x up here. So pause this video and see if you can work through this before we do it together. All right, so just as a bit of a review,…
From $0 To Millionaire | Investing For Beginners
What’s up you guys, it’s Graham here! So, as many of you know, I have this thing for talking about investments. For some reason, it’s what I’ve been obsessed with doing over the last decade. Like, I wake up early in the morning, I make myself some 20-cent…
Bill Ackman on Short Selling
You I would be remiss if we spent this time together and we didn’t talk a little about Herbalife. Herbalife, for those of you who don’t know, and Bill’s gonna explain more, is a Direct Selling scheme. The day I came to see you in New York, you were about …
The stoic idea that will make you unstoppable
So pretend you’re stuck in traffic. You’re super frustrated. You’re gripping the wheel tight. You can’t believe that you’re late for work and it’s your first day. You just landed your dream job, and it’s bumper-to-bumper traffic. You can’t do anything abo…