Next Previous Contents

2.4 cbmcopy

Synopsis: cbmcopy [OPTION]... DEVICE# FILE...

cbmcopy is a fast file transfer program for various disk drives, in particular the 1541, 1570, 1571 and 1581 devices. Maximum transfer speed is achieved by custom drive- and transfer-routines based on the Star Commander ((C) Joe Forster/STA) routines.

cbmcopy invocation

DEVICE# specifies the drive number for file copy. The remaining arguments specify the files to be sent to/read from the disk drive. This version supports Raw, PC64 (P00) and T64 files are recognized when sending files to the disk drive, files read from external devices are always stored as raw binary data.

Here's a complete list of known options:

-h, --help

Display help and exit

-V, --version

Display version information and exit.

-q, --quiet

Quiet output, fewer messages (also suppresses warnings, should not be used)

-v, --verbose

Verbose output, more messages (can be repeated)

-n, --no-progress

Omit progress display

-r, --read

Operate in read-mode, i.e. read data from an external device. Starting cbmcopy as cbmread has the same effect.

-w, --write

Operate in write-mode, i.e. send files to an external device. Starting cbmcopy as cbmwrite has the same effect.

-t, --transfer=transfer mode

Set transfermode. Valid modes are:

serial1 should work in any case. serial2 won't work with more than one device is connected to the IEC bus, parallel requires a XP1541/XP1571 cable

-d, --drive-type=type

Skip drive type detection. Valid types are 1541, 1570, 1571 and 1581.

-o, --output=name

Specifies target name. ASCII/PetSCII conversion is performed when in write-mode.

-a, --address=address

Overrides the file's first two bytes with address.

-R, --raw

Skip file type detection. File data is sent as is. This option is only valid in write-mode.

-f, --file-type=type

Specifies/overrides file type. Supported types are P, S, D, U. Raw files default to P, whereas the T64 format contains meta data which includes the file type. For PC64 files, cbmwrite tries to guess the file type from the file extension. This option is only valid in write-mode.

Next Previous Contents