How to COPY a Folder from USB to Mac Using Terminal Commands - Basic Tutorial | New

  • 3 months ago
How to Transfer a Folder from USB to Mac Using Terminal Commands - Basic Tutorial | New #USBFlashDrive #ComputerScienceVideos #Terminal #TerminalCommands

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

Category

📚
Learning
Transcript
00:00Computer Science videos here today to show you guys in this tutorial how to
00:05copy a directory from a USB flash drive to a Mac computer using terminal on
00:10terminal commands. Without further ado let us start the video. So in this tutorial
00:15you need to have access to a Mac computer a USB flash drive which can
00:19have a capacity of 1, 2, 4 all the way up to 1 terabyte. For this tutorial we are
00:24not worried about the capacity as the folder is very small. We also need to
00:29know how to use terminal as well as the terminal commands. So we're gonna start
00:33this tutorial. We can now go all the way down to the dock, go to finder, now insert the
00:39USB into a Mac computer, wait for that to load up on screen and there we have it
00:53the Kingston USB flash drive is on screen. Let's now navigate to that. Let's
00:59now go to favorites, locations, click on Kingston and there we have a folder, a
01:04directory called computer science videos which we would like to move to the
01:09desktop using terminal and the commands. Let's now minimize finder for the moment
01:14let's now go all the way down to the dock again go to launchpad, go to terminal
01:19open up terminal, increase the size of the terminal window, use command plus to
01:26increase the text size. Let's now clear all the content on screen. Let's now
01:36navigate to the desktop, cd desktop slash semicolon ls minus L to list all the
01:49content on screen. Let's now navigate to a volumes and Kingston, cd volumes
01:58Kingston ls minus L to list everything within and the USB flash drive. So we see
02:08computer science videos on screen. Let's now go all the way down to the dock, go
02:12to finder, decrease the size of the finder window and there we see the folder
02:21on screen, bottom right corner of the screen. So go back to terminal and now
02:33the command to copy the computer science videos folder to the desktop is as
02:41follows. CP to copy, hyphen, capital R which causes CP to copy the folder and
02:56its content. So the folder we are trying to copy is the computer science videos
03:02folder, speech marks, C tab, autofill the full folder, space, option N, tilde desktop
03:24and now we need a folder name which the computer science videos will be added to.
03:33If we just execute enter, the content inside computer science videos will just
03:40be copied to the desktop which is something we do not want. Let's now
03:45create a folder name and there we have it, computer science videos. Let's now
03:56press enter and everything from the Kingston USB inside the computer science
04:06videos folder has been copied and pasted to the desktop in a new folder called
04:13computer science videos. Let's open up both folders and look at these finder
04:21windows simultaneously to each other and there you have it. So we can now quit both
04:31finder windows, clear everything within terminal, CD, clear again, quit terminal
04:43eject the Kingston USB and so that's it for this video. I'll see you guys in my next tutorial.
04:52Thanks for now. Thank you for making it towards the end of the video. Be sure to
04:58subscribe to my channel, Computer Science Videos. Be sure to check out the previous
05:02video on screen now or you can ideally click on the playlist and watch all the
05:09journey for computer science videos from the start until now.

Recommended