Can anyone help me with simple problem.....
I am newie bee UNIX. I want to copy a file from drive A to /temp directory on drive C. How do i do that.?
Thank you (14 Replies)
hello,
i have to copy a file from one directory to another directory in linux.
how to do this using a c function?
kindly ans to my query.
thanks (2 Replies)
Hi,
I have a script which will generate three csv files. i want to copy the contents of these csv files into a .XLS file but in different worksheets. Can a this be done in the same script? :confused:
Can Perl come to my help in coping the csv files into different worksheets of .XLS file ?... (0 Replies)
Hi, Im trying to take a database backup. one of the files is 26 GB. I am using cp -pr to create a backup copy of the database. after the copying is complete, if i do du -hrs on the folders i saw a difference of 2GB.
The weird fact is that the BACKUP folder was 2 GB more than the original one!
... (1 Reply)
I have two files, lets say file1.pun and file2.pun
Now i need to copy the first 10 lines of file1.pun and paste them on the head of file2.pun without deleting the contents of file2.pun.
I have to do this from command line only.
Can u plz guide me in this regards (4 Replies)
Hi
I just want to copy the file name from the input file. Below is the code I have used but the answer comes with quotation .
$ cat test.sh
file_name=\'$1\'
echo $file_name
$ sh test.sh grants.dat
'grants.dat'
How do I remove the quotation
Thanks (2 Replies)
We have 2 file XML files - FILE1.XML and FILE2.xml - we need copy the contents of FILE1.XML and replace in FILE2.xml pattern "<assignedAttributeList></assignedAttributeList>"
FILE1.XML
1. <itemList>
2. <item type="Manufactured">
3. <resourceCode>431048</resourceCode>
4. ... (0 Replies)
Hi guys, I am a newbie here :wall:
I need a script that can search for a file in a directory and copy the contents of that file in a new file.
Please help me. :confused: Thanks in advance~ (6 Replies)
Hello,
I have a file called COMPLIST as follows that contains 4 digit numbers.0002
0003
0010
0013
0015
0016
0022
0023
0024
0025
0027
0030
0031
0032
0033
0035
0038
0041 (3 Replies)
Discussion started by: sph90457
3 Replies
LEARN ABOUT DEBIAN
cpmcp
CPMCP(1) User commands CPMCP(1)NAME
cpmcp - copy files from and to CP/M disks
SYNOPSIS
cpmcp [-f format] [-p] [-t] image user:file file
cpmcp [-f format] [-p] [-t] image user:file ... directory
cpmcp [-f format] [-p] [-t] image file user:file
cpmcp [-f format] [-p] [-t] image file ... user:
DESCRIPTION
cpmcp copies one or more files to or from a CP/M disk. When copying multiple files, the last argument must be a drive or directory. The
drive letter does not matter because the device is specified by the image, it is only used to specify which direction you want to copy.
The user number is specified after the drive letter, if omitted user 0 is used.
You can use * and ? in CP/M file names, which have the same meaning in sh(1) file name patterns.
OPTIONS -f format
Use the given CP/M disk format instead of the default format.
-p Preserve time stamps when copying files from CP/M to UNIX (not implemented for copying the other way so far).
-t Convert text files between CP/M and UNIX conventions.
RETURN VALUE
Upon successful completion, exit code 0 is returned.
ERRORS
Any errors are indicated by exit code 1.
FILES
/etc/cpmtools/diskdefs CP/M disk format definitions
AUTHORS
This program is copyright 1997-2010 Michael Haardt <michael@moria.de>. The Windows port is copyright 2000, 2001 John Elliott
<jce@seasip.demon.co.uk>.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
SEE ALSO cpmls(1), cpm(5)CP /M tools March 30, 2010 CPMCP(1)