I want to do all my archiving and compression on the command line. I have a USB flash drive located at /dev/disk/by-label/SanDiskData (which links to /dev/sdc1). I thought I could simply do:
$ cd /dev/disk/by-label
$ sudo tar cfv ~/data.tar SanDiskData
But then the size of /home/data.tar is only 10 kB.
Where can I tar entire USB flash drives on the command line?