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

List All Of Your Files


2m read
·Nov 3, 2024

Macons, ah, no one here today. This is going to be a brief terminal lesson on how to, um, basically add a listing of every file on your computer to one file. That way, you'll be able to click “find” that file you're looking for, a specific one.

Okay, so I'm going to just open Terminal, so wait one second.

Okay, and then you want to do is you want to type the following command: CD Desktop. CD space Desktop. Put that in the description. Then you type—just make sure I'm in the right place. Now we can type the following command: LS space dash L capital R space / space greater than symbol. So that's shift period, and then let's call it file list dot txt.

It's going to list every file that I have permissions to read into file list dot txt. I've already made one just to demonstrate while it's loading, called files dot txt, and this will take a long time, by the way.

Anyway, here's files dot txt. This has every file on my computer in it, so you can see all these folders and applications, a few other things. There is a whole load of stuff you’ll see in here.

So yeah, so you'll get a few permissions denied here unless you're root, but I'm not root, so… Okay, so now this is going to take a very long time, so I'll just do a cut here.

Loads. So there we go, looks like it's created it here. So let's take a look. Yep, here it is. So here's the file list. Now I can click “find” for an application like—let's look for, say, intro introduction at HTML.

So you can click “find” through all your files till you find the file you want. That's pretty cool. It's just really nice to have every file on your hard drive in this one file.

So thanks for watching, Mac heads. Um, subscribe and goodbye.

More Articles

View All
Preparing for Breakup | Life Below Zero
This is kind of an exciting time of year for me. My blood gets pumping a little bit ‘cause it’s breakup, and breakup to me is like New Year’s to most people. So I start my calendar year the day the river breaks up, and looking at the river, breakup is goi…
Measuring segments
What is BD? So, when they’re just saying BD, they’re saying literally the length of segment BD. So they’re saying the length from point B to point D. B is sitting here at negative two, D here is at five. So, you’re looking at really the distance between …
Butchering a Goat in Africa - Smarter Every Day 34
Hey, it’s me Destin. Welcome to Smarter Every Day. So, this video contains real world stuff, so no little eyes or no little ears. When my sister cooks in Africa, she can’t do what I just did. She can’t go to the fridge and just pull out a pound of ground …
3D Home Printing for the Developing World – Alexandria Lafci and Brett Hagler of New Story Charity
How about we start with you guys explaining what you do, and then we’ll go back in time and talk about how you ended up doing YC and all the rest of it. Also, sure! So, we’re a nonprofit, one of the first ones to go through Y Combinator, and we build hou…
Constrained optimization introduction
Hey everyone! So, in the next couple videos, I’m going to be talking about a different sort of optimization problem: something called a constrained optimization problem. An example of this is something where you might see — you might be asked to maximize…
Newton's third law conceptual worked example
Block A with mass m sits on top of block B with mass 2m in an elevator. The elevator is moving downward and slowing down. All right, when we have this diagram over here, it’s moving downward and slowing down, so that means it’s accelerating upwards. The m…