I want to launch a script everytime a USB stick is inserted. After experimenting with udev, I tried to accomplish my task with systemd (udev is supposed to run only short tasks). Systemd works fine except the fact that I have to enter the full path and name of the stick, so it works only with that specific stick. But I like to run the script on any stick. Is there any way of using wildcharts ( .*?)?
Has anyone a hint how to accomplish that task?
Thanks for your help