What is wcp?

wcp is the client component of an archive program, wcpd is the server. wcp copies local files to another location which is either on the local disk or on a remote server. wcp avoids unneccessary copies by using hardlinks.

wcp doesn't store the copied files on a backup medium like tape or DVD, it's also not my recommended tool for full system backups. It's more meant to store directory trees like home directories, source code etc.

wcp was inspired by a document I read about the plan9 operating system. The text was about the plan9 fileserver that ran together with an archival system. The fileserver created snapshots on the current server content, offering the snapshots (readonly of course) to the users as a part of the regular fileserver. As I understood the text the plan9 server does this snapshot'ing on the filesystem's block level. wcp does something similiar, but on file level.

If this is a mistery for you you might want to read "Example 1" which shows wcp's basic usage.

  1. Archiving files
  2. Inspecting archives
  3. Restoring files

See the Table of Contents for a list of all documents.

Current status

wcp 1.0.20 is a stable release. Current development is done with the version 1.1.x. The major difference is that 1.1.x handles (or will handle) files with blanks in their names, which are ignored by any 1.0.x release. This required a modified client/server protocol which might have introduced minor bugs.

In case you have questions you may ask by e-mail. If you are interested, see the download directory for the latest version. Debian packages can be picked from the respective download directory.