shell - How do I notify a user if a pen drive is connected in a bash script? -


i writing interactive script copy files pen drive hard drive , vice versa. (i have written script take care of this). stuck @ part, how notify user if pen drive connected/disconnected in bash script? after detection of usb drive leave user run script further or not. tried "udevadm monitor" throws device specific events. seems need find way build on it.


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -