bti-shrink-urls(1)

bti-shrink-urls1

Convert urls to a shorter form using a web service

Usage

bti [--escaped] [--help] [URL]

Overview

bti-shrink-urls converts URLs to a shorter form using a web service.

Currently http://2tu.us/ (default) and http://bit.ly / http://j.mp are supported.

Options

--escaped

Don't escape special characters in the URL any more, they are already percent encoded.

--help

Print help text.

URL

Specify the URL to be converted. If no URL is given bti-shrink-urls waits for input on stdin.

Configuration

bti-shrink-urls is configured by setting some values in ~/.bti:

shrink_host

Possible values: 2tu.us (default), bit.ly, j.mp

shrink_bitly_login

API login for bit.ly, j.mp, required if shrink_host is set to bit.ly or j.mp. See https://code.google.com/p/bitly-api/wiki/ApiDocumentation

shrink_bitly_key

API key for bit.ly, j.mp, required if shrink_host is set to bit.ly or j.mp. See https://code.google.com/p/bitly-api/wiki/ApiDocumentation

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 4 times.

  1. 6.0
  2. 7
  3. 8
  4. 9–10
  5. 11–13

Author

Written by Bart Trojanowski <[email protected]>.

From bti 034-6+b3 in Debian 13 (Trixie). Parsed by carta from the page's man source.