Copy file from pen drive to disk
What is the command for copying a file from my thumb drive to my hardisk?
|
Dude, its:
Code:
cp source-directory/filename destination-directory Code:
man cp |
Usually when my root is at a place called media (cd /media - i.e. where I can access cdrom, floppy, etc) and do an ls, it says PEN DRIVE. Thats is the name I gave it while I use my thunb drive in winxp.
And when I try to execute that command it throws me some error. |
Dear Newbie, without posting the errors, nothing's gonna work!
|
You might also want to look at the "mount" manpage -- your computer has to know that you intend on using the device.
|
Quote:
Code:
cd /media/PEN DRIVE |
Dude, you should use:
Code:
cd /media/"PEN DRIVE" Code:
cd /media/PEN\ DRIVE |
Quote:
Code:
cd /media/PEN DRIVE Code:
cd "/media/PEN DRIVE" |
All times are GMT -5. The time now is 08:21 PM. |