copy file from usb drive to a folder

Posted on 2011-03-16
Medium Priority
Last Modified: 2012-05-11
Can you provide baby steps for copy a file from a usb drive to /data/myplace?
Linux fedora 14

Question by:zhshqzyc
  • 2
  • 2
LVL 40

Expert Comment

ID: 35150973
did you try the cp command?


Expert Comment

ID: 35151072
From the commandline you can type man cp for some more documentation. But usually you just type cp <target> <destination> when typing use tab to help you with completing the line to ensure nothing is misspelled (and it's faster). If this is your first time copying files using the command line, i'd recommend copying a test file to a another destination (like another test folder).

Do you need help with finding the USB drive in the commandline?

Author Comment

ID: 35151264
Yes. I know cp command but I am not sure how to set the <target> for USB drive in the command line.
Need a simple example.
LVL 40

Expert Comment

ID: 35151299
what is the mount point of the USB drive? do you want to copy to or copy from USB drive?

Accepted Solution

sdern earned 500 total points
ID: 35151318
example: mount /dev/sda1 /mnt/usbdrive

sda1 is the usbdrive. then you can access the drive by going to /mnt/usbdrive/

Oh I found a nice website that gives a video on how to mount. Once you mount the USB drive it's just navigating the mount point and using cp from there.


Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …
The video will let you know the exact process to import OST/PST files to the cloud based Office 365 mailboxes. Using Kernel Import PST to Office 365 tool, one can quickly import numerous OST/PST files to Office 365. Besides this, the tool also comes…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question