From 4737ae5bc7e0b6a87683915e18cd1fe381ebd607 Mon Sep 17 00:00:00 2001 From: Bruno Fontes Date: Tue, 31 Jul 2018 11:23:12 -0300 Subject: [PATCH] Adding egnyteToPath script --- Egnyte/egnyteToPath.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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