06-14-2017, 08:57 AM
(This post was last modified: 06-14-2017, 09:04 AM by gold_finger.)
/dev/sdb2 is partition designation for the USB drive partition, but is not the mount point for it in the file system; therefore won't work with command.
Plug-in USB drive and mount it again. If your system auto-mounts and opens USB sticks/external drives when you plug them in, (which is default behavior in LL unless you changed it), you don't need to do anything more to mount it. Then open a terminal and run this command to see what the "MOUNTPOINT" is for that 2nd partition on your USB drive:
Mount point will likely be something like /media/mike/usb-drive-partition. Use the mount point shown by lsblk when running the rsync command.
Example:
NOTE: If you have other things in addition to video files in your Downloads folder those will also get copied to the TV-30-05-17 directory with this command.
Plug-in USB drive and mount it again. If your system auto-mounts and opens USB sticks/external drives when you plug them in, (which is default behavior in LL unless you changed it), you don't need to do anything more to mount it. Then open a terminal and run this command to see what the "MOUNTPOINT" is for that 2nd partition on your USB drive:
Code:
lsblk
Mount point will likely be something like /media/mike/usb-drive-partition. Use the mount point shown by lsblk when running the rsync command.
Example:
Code:
rsync -PSauv ~/Downloads/* /media/mike/usb-drive-partition/TV-30-05-17
NOTE: If you have other things in addition to video files in your Downloads folder those will also get copied to the TV-30-05-17 directory with this command.
Try Linux Beginner Search Engine for answers to Linux questions.