Adding egnyteToPath script

This commit is contained in:
Bruno F. Fontes 2018-07-31 11:23:12 -03:00
parent e6584dffcc
commit 4737ae5bc7

View File

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