Find path drag and drop script

Sometimes you may need to know shortcut path, and one way is to check the path using the next script.

find-path.zip

The script:

#!/bin/bash
## path checker
yad --dnd --geometry=600x200 --on-top --no-buttons --title=$"path checker" --text=$"Check path dragging file here" | while read selection
do
FILE=$(echo "$selection" | sed 's/file:\/\///')
echo "$FILE" > path-result.txt && xdg-open path-result.txt
done