Skip to content

Instantly share code, notes, and snippets.

@msr1k
Created January 25, 2013 09:40
Show Gist options
  • Save msr1k/4633128 to your computer and use it in GitHub Desktop.
Save msr1k/4633128 to your computer and use it in GitHub Desktop.
Substitute windows path separator "\" with "/". Need `gem install clipboard`
ruby -e "require 'clipboard'; Clipboard.copy( Clipboard.paste.gsub( /\\/, '/' ) )"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment