1BTI-SHRINK-URLS(1) bti-shrink-urls BTI-SHRINK-URLS(1)
2
3
4
6 bti-shrink-urls - convert URLs to a shorter form using a web service
7
9 bti [--escaped] [--help] [URL]
10
12 bti-shrink-urls converts URLs to a shorter form using a web service.
13
14 Currently http://2tu.us/ (default) and http://bit.ly / http://j.mp are
15 supported.
16
18 --escaped
19 DonĀ“t escape special characters in the URL any more, they are
20 already percent encoded.
21
22 --help
23 Print help text.
24
25 URL
26 Specify the URL to be converted. If no URL is given bti-shrink-urls
27 waits for input on stdin.
28
30 bti-shrink-urls is configured by setting some values in ~/.bti:
31
32 shrink_host
33 Possible values: 2tu.us (default), bit.ly, j.mp
34
35 shrink_bitly_login
36 API login for bit.ly, j.mp, required if shrink_host is set to
37 bit.ly or j.mp. See
38 https://code.google.com/p/bitly-api/wiki/ApiDocumentation
39
40 shrink_bitly_key
41 API key for bit.ly, j.mp, required if shrink_host is set to bit.ly
42 or j.mp. See
43 https://code.google.com/p/bitly-api/wiki/ApiDocumentation
44
46 Written by Bart Trojanowski bart@jukie.net.
47
49 Copyright (C) 2009 Bart Trojanowski bart@jukie.net.
50
51 This program is free software; you can redistribute it and/or modify it
52 under the terms of the GNU General Public License as published by the
53 Free Software Foundation version 2 of the License.
54
55
56
57bti-shrink-urls March 2009 BTI-SHRINK-URLS(1)