Solved

copy file from usb drive to a folder

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

Thanks.
0
Comment
Question by:zhshqzyc
  • 2
  • 2
5 Comments
 
LVL 40

Expert Comment

by:omarfarid
ID: 35150973
did you try the cp command?

0
 
LVL 2

Expert Comment

by:sdern
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?
0
 

Author Comment

by:zhshqzyc
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.
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 35151299
what is the mount point of the USB drive? do you want to copy to or copy from USB drive?
0
 
LVL 2

Accepted Solution

by:
sdern earned 125 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.

http://www.linuxconfig.org/Howto_mount_USB_drive_in_Linux
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

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 demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
This video discusses moving either the default database or any database to a new volume.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now