 Okay, so I've been doing videos on drag-and-dropping files into a shell script. And I did three of them. And then a few days later, I remembered about YAD. I'm assuming that's how you say it, Y-A-D. If you're familiar with Xenity, which I've shown in previous videos, YAD is a lot like Xenity, but has a lot more features to it. So a lot more functionality. And its drag-and-drop feature is very nice. So let's have a look at that really quick. So once it's installed, it should be in your repositories for most distributions, but, oops, YAD. Okay, so YAD will create dialog. And again, it does lots of different types of dialog, but if we tell it dash-dnd, that's a drag-and-drop dialog. If I hit Enter now, you can see we get this little dialog box right here. And I select photos or any files, and I grab them. I can bring them up here right there, and I can drag-and-drop, and it automatically puts them the text for the path name right into the shell there. And then I can hit Close and continue with my script. Okay, so really small. So we can also add in dash-text equals and give it some text. Please drag-and-drop files here with capital here for some reason. There we go. It's a little bit bigger now. Again, I can take these files. I can drag-and-drop them there. I can highlight some more. Drag-and-drop them and just puts the full path to the file right there. And then I can hit Close, and my script will continue. Also that's still kind of a small box. Very easy. I can go dash-dash with equals, I can say like, let's do 720. And now we have a much wider dialog box to drag to. I can also give it a height, dash-dash height equals, we'll say 480. And now we have a very large box to drag to. But you'll also notice that it is giving the file name with the file prefix here, which we don't really need. There's a few different ways to get rid of that, and said, you could tell it said to remove this text here. But the example that I saw online used this, so I'm going to stick with this for right now. So if I come in here and I pipe this into said, and I say said, and I say substitute, any line that begins with dot dot dot dot forward slash forward slash. So basically it's looking for text there. I can do that, and the program looks the same, but now when I drag-and-drop, it doesn't have that file prefix. So again, that's from an example I saw online. If I was to do this, I would probably do something like this, file colon forward slash forward slash. Oh, you know, it's removed. I see what they're doing now. I could do that, and this should accomplish the same thing, yep. Or if you want it to be a little bit clearer, you know, you don't have to use forward slashes when you're using said. I think a lot of people don't realize that because it's confusing if you have forward slashes. So I could just do any symbol that I want, and if I'm using forward slashes in my string, I may not want to use forward slashes as my special hackers doing this. I like using the pipe symbol, drag-and-drop, accomplish the same thing. So basically you just need to cut away that file beginning. But again, the basic command is just yad dash dash dnd all lowercase, and we'll give you a drag-and-drop. And again, you can then put that into a variable, an array, run it through a while loop of some sort. But yeah, I can't believe I forgot about this when I was making those previous videos. This is probably better than all the other options if Yad is installed on your system. Again, we went over different ways to do it where maybe you don't have Yad available. So check out my previous videos. I do thank you for watching. As always, please visit Films by Chris.com. That's Chris the Cazer. There's a link in the description. And as always, I hope that you have a great day.