1CPMCP(1)                         User commands                        CPMCP(1)
2
3
4

NAME

6       cpmcp - copy files from and to CP/M disks
7

SYNOPSIS

9       cpmcp [-f format] [-p] [-t] image user:file file
10       cpmcp [-f format] [-p] [-t] image user:file ... directory
11       cpmcp [-f format] [-p] [-t] image file user:file
12       cpmcp [-f format] [-p] [-t] image file ... user:
13

DESCRIPTION

15       cpmcp  copies  one  or more files to or from a CP/M disk.  When copying
16       multiple files, the last argument must be a drive  or  directory.   The
17       drive  letter  does  not  matter because the device is specified by the
18       image, it is only used to specify which direction  you  want  to  copy.
19       The  user number is specified after the drive letter, if omitted user 0
20       is used.
21
22       You can use * and ? in CP/M file names, which have the same meaning  in
23       sh(1) file name patterns.
24

OPTIONS

26       -f format
27              Use the given CP/M disk format instead of the default format.
28
29       -T libdsk-type
30              libdsk driver type, e.g. tele for Teledisk images or raw for raw
31              images (requires building cpmtools with support for libdsk).
32
33       -p     Preserve time stamps when copying files from CP/M to  UNIX  (not
34              implemented for copying the other way so far).
35
36       -t     Convert text files between CP/M and UNIX conventions.
37

RETURN VALUE

39       Upon successful completion, exit code 0 is returned.
40

ERRORS

42       Any errors are indicated by exit code 1.
43

ENVIRONMENT

45       CPMTOOLSFMT     Default format
46

FILES

48       /usr/share/cpmtools/diskdefs  CP/M disk format definitions
49

AUTHORS

51       This  program is copyright 1997–2012 Michael Haardt <michael@moria.de>.
52       The  Windows  port  is  copyright  2000,  2001,   2011   John   Elliott
53       <jce@seasip.demon.co.uk>.
54
55       This program is free software; you can redistribute it and/or modify it
56       under the terms of the GNU General Public License as published  by  the
57       Free  Software Foundation; either version 3 of the License, or (at your
58       option) any later version.
59
60       This program is distributed in the hope that it  will  be  useful,  but
61       WITHOUT  ANY  WARRANTY;  without  even  the  implied  warranty  of MER‐
62       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  General
63       Public License for more details.
64
65       You should have received a copy of the GNU General Public License along
66       with this program.  If not, write  to  the  Free  Software  Foundation,
67       Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
68

SEE ALSO

70       cpmls(1), cpm(5)
71
72
73
74CP/M tools                     October 25, 2014                       CPMCP(1)
Impressum