LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-21-2007, 05:24 PM   #1
Aerolinux
LQ Newbie
 
Registered: Feb 2007
Posts: 22

Rep: Reputation: 15
Copy files to USB


I am trying to copy some files from /tmp directory to my USB. Can anyone please tell me how to do it ?

Thank you
 
Old 02-21-2007, 05:59 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
cp /tmp/name_of_file /mounted_location_of_USB_drive

Clearer example
cp /tmp/file1.txt /mnt/usb1
cp /tmp/*.txt /mnt/usb1
cp /tmp/*.* /mnt/usb1

Again you need to know where the USB is mounted too.

Brian
 
Old 02-21-2007, 06:10 PM   #3
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
ahh, is the usb flash mounted ??

Code:
n600c ~ # mount
...
/dev/sda1 on /mnt/flash type vfat (rw,noexec,nosuid,nodev,sync,umask=000)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mepis, copy files to thumb drive, files deleted? vremenno Linux - Newbie 6 09-15-2006 11:21 PM
How do i copy files v1nc3nt Linux - Newbie 3 03-10-2006 06:23 AM
copy files from your hard drive to usb key with Knoppix ziegen Linux - Distributions 1 08-09-2004 01:06 PM
Copy files dunmarie Linux - Newbie 2 10-29-2003 09:18 AM
how to copy and paste between files and within files Bheki Linux - General 1 02-05-2002 05:29 AM


All times are GMT -5. The time now is 02:16 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration