Top Qs
Timeline
Chat
Perspective

File copying

Act of creating a new computer file with content matching an exiting file From Wikipedia, the free encyclopedia

Remove ads

In computing, file copying is the act of creating a new file such that it has the same content as an existing file. The operation is sometimes called cloning. Typically, an operating system provides for users to copy files. A graphical user interface (GUI), such as a file manager, may provide for copy-and-paste and drag-and-drop user experience. Unix-based and Windows shells provide command-line interface (CLI) commands such as cp and COPY.

Remove ads

Shadow copy

Shadowing describes the process of maintaining a copy of a set of files, a.k.a. to mirror files in a separate physical location. Depending on the reasons behind the shadow operation, this location may be as close as the BIOS chip to the RAM modules or as far away as the other side of the globe.

Remote copy

Some systems have specialized system calls for copying files (like CopyFile in Windows API), while others (like Unix-based and DOS) simply read the contents of the existing file into memory and write it to a new file. A specialized system call provides little advantage for files on local storage, but can optimize operation when the source and target files are on a remote file server. The system call can tell the server to process the files on the server's file system; without sending file content over the network; thus greatly improving performance. Lacking such file server support, copying requires reading file content over the network, and sending it back over the network again.

Sometimes, remote file copying is performed with a specialized command, like NCOPY in DOS clients for Novell NetWare. The COPY command in some versions of DR-DOS since 1992,[1] has built-in support for this. An even more complicated situation arises when one needs to copy files between two remote servers. The simple way is to read data from one server, and then to write the data to the second server.

Remove ads

See also

References

Loading content...

Further reading

Loading content...
Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.

Remove ads