Re: Is it possible to transfer contents of folders to a USB drive from command line?
Of course.
When you connect your USB stick, type "dmesg | tail". That'll display the kernel messages that are generated as the device is initialised. What you're after is the sd* bit where it's something like sdb1 or sdc1, this is the partition number of your USB stick. Create a mount point "sudo mkdir /mnt/USB" then mount the parition "sudo mount /dev/sdc1 /mnt/USB" replacing "sdc1" with the partition as identified by the dmesg output. Then just use the cp command to copy the files to your USB stick. Finish it with "sync" then "sudo umount /mnt/USB".
Mark your thread as [SOLVED], use Thread Tools on forum page.
Bookmarks