How do I check which mount point a portable harddisk using the ID ? is there a way do this in bash shell script
I know I can find the harddisk using their vendor product id like this "lsusb -d [vendor:product]"
can i find the harddisk mount point using the vendor product id ?
It's for backing up purpose the ftp is not my option because internet so slow and we need to backup 10 more gigs
so I will bring a portable usb Harddisk plug it in in the server
and on plug in the server will check that this is the harddisk for backup or not ( using vendor product id that define in the sh script )
if it's different than do not backup, but if it's the same
copy the data from server to harddisk ( here i need to know where's the mount point otherwise how do i copy it over ? )
and umount the partition on finish copying the file
I'm still newbie here and I only manage to find the lsusb -d, the rest kind of blank.....