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 [-u] user:file file
10       cpmcp [-f format] [-p] [-t] image [-u] user:file ... directory
11       cpmcp [-f format] [-p] [-t] image [-u] file user:file
12       cpmcp [-f format] [-p] [-t] image [-u] 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 im‐
18       age, it is only used to specify which direction you want to copy.   The
19       user  number  is specified after the drive letter, if omitted user 0 is
20       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
38       -u     Show all CP/M file names in upper case.
39

RETURN VALUE

41       Upon successful completion, exit code 0 is returned.
42

ERRORS

44       Any errors are indicated by exit code 1.
45

ENVIRONMENT

47       CPMTOOLSFMT     Default format
48

FILES

50       /usr/share/cpmtools/diskdefs  CP/M disk format definitions
51

AUTHORS

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

SEE ALSO

72       cpmls(1), cpm(5)
73
74
75
76CP/M tools                       Jan 22, 2021                         CPMCP(1)
Impressum