linuxShortcuts/Egnyte/egnyteToPath.sh

4 lines
177 B
Bash
Raw Permalink Normal View History

2018-07-31 14:46:51 +00:00
cpboard=$(xsel -b)
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