Solved

copy file from usb drive to a folder

Posted on 2011-03-16
5
424 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help Linux centos 5.7 3 92
How do I delete this file in Linux 2 456
Use Powershell script to ftp 10 102
WiFi Router device supports GPON! 3 58
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 Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

810 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