Solved

copy file from usb drive to a folder

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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 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 is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

861 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

22 Experts available now in Live!

Get 1:1 Help Now