LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB flash drive to move files between my linux and windows computers (https://www.linuxquestions.org/questions/linux-hardware-18/usb-flash-drive-to-move-files-between-my-linux-and-windows-computers-649092/)

tehoverlord 06-13-2008 12:14 PM

USB flash drive to move files between my linux and windows computers
 
I would like to know how to set it up so that when i plug a flash drive into my linux computer running Fluxbuntu that it would be easily accessable. Like having a folder on the desktop or something. My brothers would like to be able to do their essays and homework on the linux computer and then bring them to the windows computers at school and print out the work. Or maybe even bring some videos from school and use them on the Fluxbuntu system.

How would i set it up so that when a flash drive is plugged in, it automatically mounts itself and there is a shortcut folder on the desktop so that nobody has to use the terminal to access the files on it, or anything like that?

bigrigdriver 06-13-2008 12:56 PM

Format the flash drive with a filesystem that both windows and Linux can read/write. The command 'mkfs.vfat -F 32 /dev/XYZ' (where XYZ is the usb stick when it's plugged in) would format the stick for fat32.

In Linux, you can mount the stick with 'mount -t vfat /dev/XYZ'. Write files to the stick using your favorite editor, and read with your file manager or editor apps, drag 'n' drop, etc. In windows, just click on the usb drive in windows explorer as usual to see files, drag 'n' drop, etc.


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