07-09-2018
Quote:
Originally Posted by
hicksd8
How are you copying the file to the system?
Is the copy from an internal drive?
Is the copy from an external drive?
Is the copy from a NFS mounted drive?
Is the copy via FTP?
What command are you using? cp?
What filesystem type is it?
Solaris 10 - SPARC or x86? 32-bit or 64-bit?
I copy using scp and rsync, but the problem same.
Copy from solaris 11 to solaris 10, or centos to solaris 10, but same too for the problem
10 More Discussions You Might Find Interesting
1. Gentoo
I presently backup my multi-OS multi-paritition boot drive (fedora core 4/ext3, WinXPServer/NTFS, WinXPHome/FAT32) with the command:
telinit 1; cp /dev/sda /dev/sdb
And this works.
Is there a command to only copy a single partition instead of an entire device?
And what about the grub... (12 Replies)
Discussion started by: siegfried
12 Replies
2. Shell Programming and Scripting
Hi
Can anyone help me with the task below?
Example:
The contents in fileA.txt are:
HELLO
HOW DO U DO?
The contents in fileA.txt are:
HI
I AM FINE.
how to combine the data in 2 files into one with the format below?
Case A-fileA.txt
HELLO
HOW DO U DO?
Case B-fileB.txt (4 Replies)
Discussion started by: c0384
4 Replies
3. UNIX for Dummies Questions & Answers
Please help - I need to copy a single file to multiple directories.
Dir structure:
Parent_Directoy
Filename1
Child_Directory1
Child_Directory2
Child_Directory3
Child_Directory4
....
So I need to copy Filename1 to all of the... (2 Replies)
Discussion started by: kthatch
2 Replies
4. Shell Programming and Scripting
Dear friends,
My requirement below-
1] I have a zip file on unix server - ETL_Extracts_20100218175009.zip which is composed of various entity extracts namely... ENTITY1.txt, ENTITY2.txt, ENTITY3.txt etc....
How do I unzip only a single file ..say ENTITY2.txt from this zip file.
CAn you... (2 Replies)
Discussion started by: sureshg_sampat
2 Replies
5. Shell Programming and Scripting
I have the following script that I use to copy a list of files from one dir to another,
#!/usr/bin/bash
# $1=filename of file with the list of files to copy
# $2=column header for col in list file with filenames (filePath in most cases)
# $3=src dir
# $3=destination dir
FILE_LIST="$1"... (6 Replies)
Discussion started by: LMHmedchem
6 Replies
6. UNIX for Advanced & Expert Users
how to extract data from single first cell and copy it notepad
sample source IN EXCEL
DD-MM-YYYY
LOANNUM LOANPARTID
OUTPUT IN NOTEPAD
DD-MM-YYYY
I WANT ALONE DATE SHOULD BE EXTRACTED FROM EXCEL AND COPY IT IN NOTEPAD
CAN ANYONE HELP REGARDING THIS USING SCRIPTS (2 Replies)
Discussion started by: gchandu
2 Replies
7. Shell Programming and Scripting
Hi,
I have 2 csv/txt files with single columns. I am trying to merge them using paste, but its not working..
output3.csv:
flowerbomb
everlon-jewelry
sofft
steve-madden
dolce-gabbana-watchoutput2.csv:
http://www1.abc.com/cms/slp/2/Flowerbomb
http://www1.abc.com/cms/slp/2/Everlon-Jewelry... (5 Replies)
Discussion started by: ajayakunuri
5 Replies
8. UNIX for Beginners Questions & Answers
Hi,
I have an mksysb backup which consists of 2 Volume, how do I combine it into a single Volume or tape ?
Appreciate it (1 Reply)
Discussion started by: AIXBlueCat
1 Replies
9. Shell Programming and Scripting
I need to copy a complete directory structure into a new location. But I want to have all files copied into one directory and leave out the directory structure. So all files must be placed in one directory. (4 Replies)
Discussion started by: ReneVL
4 Replies
10. Shell Programming and Scripting
I'm trying to copy a file myfile.scr from my local Linux server to multiple folders on remote AiX server using single rsync command.
Below command helps me copy the file "myfile.scr" from my localhost to a remote host folder "/app/deployment/tmpfiles"
rsync --delay-updates -F --compress... (1 Reply)
Discussion started by: mohtashims
1 Replies
NCOPY(1) ncopy NCOPY(1)
NAME
ncopy - NetWare file copy
SYNOPSIS
ncopy -V
ncopy [ -vmMnpptu ] [ -s amount ] file destinationfile|directory
ncopy [ -vmMnpptu ] [ -s amount ] file1 [ file2 ... ] directory
ncopy -r [ -vmMnpptu ] [ -s amount ] srcdir dstdir
DESCRIPTION
With ncopy you can copy files to different locations on a single NetWare file server without generating excess network traffic. The pro-
gram uses a NetWare function to do the copy rather than transferring the file across the network for both the read and write.
If the last argument is a directory, ncopy will copy the source file(s) into the directory. If only two files are given and the last argu-
ment is not a directory, it will copy the source file to the destination file.
If the source and destination files are not on the same NetWare server (or are not on NetWare servers at all), ncopy will do a normal file
copy.
OPTIONS
-V
Show version number and exit
-v
Verbose copy. Will show current file and percentage completion.
-m
Copy MAC resource fork. Copies MAC resource fork together with data fork.
-M
Copy MAC resource fork to/from non-MAC filesystem. It expects/creates resource forks in subdirectory .rsrc of each directory copied.
If you want to copy files from MAC volume to .rsrc scheme, you must specify both options, -mM. It is not possible to create .rsrc direc-
tory on MAC-aware volume in one step, you must first copy data to non-MAC media using ncopy -mM and then copy them back using ncopy -M.
If you want to copy files from .rsrc scheme on MAC volume to real MAC multiple-forks file, you must first copy data to non-MAC filesys-
tem using ncopy -M and then copy them back using ncopy -mM.
-n
Nice NetWare copy. Will sleep for a second between copying blocks on the NetWare server. Gives other people a chance to do some work
on the NetWare server when you are copying large files. This has no effect if you are not copying on a NetWare server.
-s amount
Nice time slice factor. Used in conjunction with the -n option, this specifies the number of 100K blocks to copy before sleeping.
Default is 10. (1 Megabyte)
-p
Preserve file attributes and date/time during copy.
-pp
Preserve file attributes, date/time and owner during copy. Name of owner is preserved, not owner ID.
-t
Preserve trustees during copy. Trustee name is preserved, not ID.
-r
Perform recursive copy.
-u
Perform copy only if mtime or size differs.
BUGS
ncopy does not preserve long (MAC, NFS, FTAM, OS2) names during copy.
SEE ALSO
ncpmount(8), ncpumount(8)
CREDITS
ncopy was written by Brian G. Reid (breid@tim.com) and Tom C. Henderson (thenderson@tim.com). Many thanks to Volker Lendecke
(lendecke@math.uni-goettingen.de) for the ncpfs and ncplib which made ncopy possible. Some further work was done by Petr Vandrovec (van-
drove@vc.cvut.cz).
ncopy 17/03/1996 NCOPY(1)