Solved

copy file from usb drive to a folder

Posted on 2011-03-16
5
426 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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 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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

726 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