ncopy (1) - Linux Manuals
ncopy: NetWare file copy
NAMEncopy - NetWare file copy
ncopy [ -vmMnpptu ] [ -s amount ] file destinationfile|directory
ncopy [ -vmMnpptu ] [ -s amount ] file1 [ file2 ... ] directory
ncopy -r [ -vmMnpptu ] [ -s amount ] srcdir dstdir
DESCRIPTIONWith ncopy you can copy files to different locations on a single NetWare file server without generating excess network traffic. The program 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 argument is not a directory, it will copy the source file to the destination file.
- Show version number and exit
- Verbose copy. Will show current file and percentage completion.
- Copy MAC resource fork. Copies MAC resource fork together with data fork.
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 directory 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 filesystem using ncopy -M and then copy them back using ncopy -mM.
- 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.
- 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)
- Preserve file attributes and date/time during copy.
- Preserve file attributes, date/time and owner during copy. Name of owner is preserved, not owner ID.
- Preserve trustees during copy. Trustee name is preserved, not ID.
- Perform recursive copy.
- Perform copy only if mtime or size differs.
BUGSncopy does not preserve long (MAC, NFS, FTAM, OS2) names during copy.
CREDITSncopy was written by Brian G. Reid (breid [at] tim.com) and Tom C. Henderson (thenderson [at] tim.com). Many thanks to Volker Lendecke (lendecke [at] math.uni-goettingen.de) for the ncpfs and ncplib which made ncopy possible. Some further work was done by Petr Vandrovec (vandrove [at] vc.cvut.cz).