linuxShortcuts/Egnyte/egnyteToPath.sh

4 lines
177 B
Bash
Raw Normal View History

2018-07-31 14:08:07 +00:00
cpboard=$(xsel -b)
2018-07-31 14:23:12 +00:00
path=$(echo "$cpboard" | sed -e 's/\//\\/g' -e 's/%20/ /g' -e 's/https:\\\\oxo\.egnyte\.com\\app\\index\.do\#storage\\files\\1\\/Z:\\/g')
echo "$path" | xsel