1. In a Linux system such as Ubuntu to identify a USB flash drive, sometimes we do not know which folder, and do not know how to view its contents, in general, we will attach it to the directory/media, first of all to see what the system has memory, and then can see our USB stick is which settings file, Then mount it with Mount, with the following command:
Fdisk-l
Sodu mount-t Vfat/dev/sdb4/media
To cancel the mount:
umount/media/
* Note that when you cancel the mount, make sure that you are not in the/media directory, CD/, and then Umount.
2. The command to copy files or folders in a Linux system such as Ubuntu is CP, and sometimes we receive the following error when we CP:
cp:omitting directory "/A/B/C"
The/a/b/c here is the folder you want to copy, the reason for this error is that there is a folder in the C directory, if there is no folder under C will not appear this error.
If you want to replicate successfully, you can use the following command, even if there are folders in the C directory that you can copy successfully:
Cp-r/a/b/c/media/
* Here-R means the meaning of cyclic copying!
Notes VirtualBox in Ubuntu system mount USB drive and copy folder May 6, 2015