Is there a simple way to copy data from one server to a different server?
Seems that if 2 servers are on the same network, there should be a simple way to copy between the two.
Not just one file. I need to copy a whole directory with subdirectories from one server to a different one.
I... (9 Replies)
I have a text list of about 3,000 file names (image files), which exist on a server and that I want to copy over to another location. I understand the Unix cp code, but what's the string to have it copy multiple files based on an external list?
Many thanks! (4 Replies)
Hello All,
I would like to download a list of files from a remote server to my local machine preserving the path i.e, create a similar directory tree.
ex:
files on the remote machine with path
/remoteserver/005_S_0221/mpr/m1/I72128/dat/06A515T.dat... (3 Replies)
Hi to all here ,
Excuse me for the lamer question but I need UNIX command for copying List of Files Under Different File Names !
for example I have this list:
new_001.jpg
new_002.jpg
new_003.jpg
.....
I want to copy all files that start with "new_" to the same directory but under... (7 Replies)
I need to copy huge set of data(files & floder) from one server to other.
Can any one guide me.I have tried throught ftp mget but it is vain...floder are not moving......
Do suggest me any good method (12 Replies)
Hi Team,
I had a requirement to write a shell script which automatically transfer the files from unix server to windows server. I can able to unix to unix using Scp command. I am not sure how to do unix to windows.
I am very new on this concept.
Could you please help me or guide in... (4 Replies)
I am trying to copy code to remote server, doing something like this
However it is copying one file and than the script exits
i=0; j=0
while read fn; do
dir=${fn%/*} # Gets directory path
fnm=${fn##*/} # Gets filename excl. path
rgx_nwk="s/${nwk}/${nwk}.sac/g"
... (2 Replies)
Hello All,
I want to copy all files from the list below to a path /qa0/repo/AS/CPY
(lnx17:qa0:/qa0/repo/AS>) ls -lrt | grep 'Feb 14'
-rw-rw-r-- 1 Ks1 qa0 39 Feb 14 20:11 HHH.dat
-rw-rw-r-- 1 Ks1 qa0 32 Feb 14 20:11 HHH1.dat
-rw-rw-r-- 1 Ks1 qa0 29 Feb 14 20:11... (3 Replies)
Discussion started by: arunkumar_mca
3 Replies
LEARN ABOUT DEBIAN
ncopy
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)