How to DELETE Folders On a Mac Using Terminal Commands - Basic Tutorial | New

  • 2 months ago
How to Delete Folders On a Mac Using Terminal Commands - Basic Tutorial | New #TerminalCommands #Terminal #ComputerScienceVideos

Social Media:
--------------------------------
Twitter: https://twitter.com/ComputerVideos
Instagram: https://www.instagram.com/computer.science.videos/
YouTube: https://www.youtube.com/c/ComputerScienceVideos

CSV GitHub: https://github.com/ComputerScienceVideos
Personal GitHub: https://github.com/RehanAbdullah
--------------------------------
Contact via e-mail
--------------------------------
Business E-Mail: ComputerScienceVideosBusiness@gmail.com
Personal E-Mail: rehan2209@gmail.com

Support us on PayPal: https://www.paypal.com/paypalme/ComputerScienceVideo

© Computer Science Videos 2021
Transcript
00:00Computer Science videos here today to show you guys in this tutorial how to
00:05delete a folder or a folder within a folder on a Mac computer using Terminal.
00:10Without further ado, let us start the video. So in this tutorial you need to
00:15have access to a Mac computer to be able to use Terminal commands within the
00:19Terminal command prompt. Compile an input to further an output. Without further ado
00:26let us start the video. So we can now go all the way around to the dock. Go to
00:33Launchpad, search for the application Terminal which should be built into the
00:36Mac computer. Let's just increase the size of the Terminal window. Command plus a
00:42couple of times to increase the text on screen. Now let's navigate to the desktop
00:46but before we do that we can decrease the size of the Terminal window just to
00:51see what's happening. Simultaneously together, ls minus L, cd desktop, semicolon
01:04ls. Let's now create a folder. Make directory, folder 1. Let's go within that
01:15folder. Let's make another directory in that folder. Folder 2 and as you can see
01:29on screen the folder 1 has been created as well as the folder 2. Now let's
01:34delete folder 2. So before we do anything, ls. To delete, remove directory
01:46rmdir under the name of the folder. That folder has vanished and now ls, cd
01:57dot dot to go on back, ls and now let's delete folder 1. So let's clear
02:03everything on screen. ls minus L to now delete folder 1. It's the same command
02:10remove directory. Folder 1, enter and there you go. The directory itself has now
02:21been removed off screen. Let's now quit Terminal and so that's all this video.
02:28I'll see you guys in my next tutorial. Thanks for now. Thank you for making it
02:34towards the end of the video. Be sure to subscribe to my channel Computer Science
02:38Videos. Be sure to check out the previous video on screen now or you can ideally
02:44click on the playlist and watch all the journey for Computer Science Videos from
02:50the start until now.

Recommended