Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # this wrapper simply uses bitly.py and clip to put it back on the clipboard for the browser...
- # *nix and OSX - set the permissions to execute for this file. I call it bashbitly
- # OSX folks, change xsel to whatever pbclip needs
- python /path/to/script/bitly.py "$1" | xsel -i -b
- #REM WINDOWS PEOPLE ERASE EVERYTHING ABOVE THIS LINE AND ALL # MARKS THROUGHOUT
- #REM Call it cmdbitly.bat
- #@ECHO OFF
- #python c:\path\to\file\bitly.py "%1" | clip
Advertisement
Add Comment
Please, Sign In to add comment