9 lines
123 B
Bash
Executable File

#!/bin/sh
for f in "$@"; do
if [ -e "$f" ]; then
xdg-open "$f"
else
echo "Skipping $f" > /dev/stderr
fi
done