Skip to content

Instantly share code, notes, and snippets.

@dale-c-anderson
Forked from anonymous/pathme.sh
Created November 15, 2016 22:29
Show Gist options
  • Save dale-c-anderson/1c74ab164ebed56309adb035310cbbd8 to your computer and use it in GitHub Desktop.
Save dale-c-anderson/1c74ab164ebed56309adb035310cbbd8 to your computer and use it in GitHub Desktop.
#!/bin/bash
W_PATH="$(xclip -selection clipboard -o)"
U_PATH="$(echo "$W_PATH" | sed -e 's/\\/\//g' -e 's/A:/\/media\/accounts/g')"
nautilus "$U_PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment