asdtool(1)

NAME
asdtool - Convert between AppleSingle/AppleDouble formats

SYNOPSIS
asdtool [-tw] files

DESCRIPTION
asdtool converts AppleSingle file format to AppleDouble and vice versa, optionally translating carriage returns to linefeeds and handling wide chars. File format of source files is deduced by asdtool, and the resultant converted files will have a postfix (either _sgl for AppleSingle, or _dbl for AppleDouble). Both file types can be used on the same command line.

OPTIONS

-t

    Specifies translation of carriage returns to linefeeds.

-w

    Specifies source files use wide chars (such as Kanji).

FORMATS
An AppleSingle file is a self-contained Macintosh file. An AppleDouble file is actually two files: the original file, and its resource file. The resource file begins with a '%'. When transferring AppleDouble files, be sure to copy the resource file as well.

EXAMPLES
asdtool is useful for UNIX programs (like vi) that don't expect a Macintosh file header. Converting an AppleSingle file foo to AppleDouble will allow the UNIX program to read it. Also, if the original file uses carriage returns instead of linefeeds, using the -t switch will allow viewing the resultant file in vi.

BUGS
None known.

COPYRIGHT
Copyright (c) 1995, Apple Computer Inc.