ILOC(1)

NAME
iloc - Create Internet Location files from the command line.

SYNOPSIS
iloc url [outfile]
iloc file

DESCRIPTION
iloc creates an Internet Location file named outfile containing the URL url, where the type and extension of outfile are determined by the scheme of url as follows:

http, https
    webloc/ilht
ftp ftploc/ilft
mail
    mailloc/ilma
news
    newsloc/ilnw
afp afploc/ilaf
file
    fileloc/ilfi
anything else
    inetloc/ilge

If file is specified (i.e., if the first argument does not have a valid scheme), it is treated as the path to an Internet Location file whose embedded URL is then printed to standard out (with a trailing newline if standard out is a TTY).

EXAMPLES
Create a file named "Apple.webloc" containing the URL "http://www.apple.com/":
    iloc http://www.apple.com/ Apple

Read the URL from "foo.ftploc" and copy it to the pasteboard:
    iloc foo.ftploc | pbcopy

Print version and usage information:
    iloc

BUGS
iloc does not read or create plist-based Internet Location files (yet).

AUTHORS
Nate Weaver (Wevah)
http://www.derailer.org/