diff --git a/Egnyte/egnyteToPath.sh b/Egnyte/egnyteToPath.sh index b13ad5a..acd29e6 100755 --- a/Egnyte/egnyteToPath.sh +++ b/Egnyte/egnyteToPath.sh @@ -1,3 +1,3 @@ cpboard=$(xsel -b) -cpboard=$(echo "$cpboard" | sed -e 's/\//\\/g' -e 's/https:\/\/oxo.egnyte.com\/app\/index.do#storage\/files\/1\//Z:\//') -echo "$cpboard" | xsel +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