USB key transfer
How do I transfer files to a USB key in the linux console!! I have no GUI. I am using Ubuntu server edition.
Thanks! |
Well, generally, you need to mount the USB drive first. Then copy the files over, as you would normally. So it would be something like...
Code:
mount /dev/sda1 /media/usb |
Hmm
So if i wanted to transfer the folder /home/john/ on the computer to the usb stick what would be the syntax? I do not get the .files thing. Thanks a lot! |
Well if it's a directory, you would want to use "cp -r" like this.
Code:
cp -r /home/john/ /media/usb/ Code:
man cp |
Thank you very much for your help. I got it to work. I like the line about thinking about it like your hdd.
Sorry if my questions seemed silly. |
There's nothing wrong with asking questions. How else are you going to learn? Glad to hear it's working.
|
All times are GMT -5. The time now is 03:38 AM. |