Xin

Version: 1.0.0
Last released: 18 Apr 2001
Download: xin-1.0.0.tar.gz (38KB)
Package (external): FreeBSD

Xin reads from standard input splitting the data up into sections. Each section is piped into a command separately.

The Xin archive also includes an RPM spec file. RPM users can build a binary package ready to install by running:

rpm -tb xin-1.0.0.tar.gz
You will find the binary rpm under /usr/src/rpm/RPMS/i386 or /usr/src/redhat/RPMS/i386.

I use Xin combined with a simple script to burn multiple volume cpio backups onto CD without needing any temporary space for disc images - I don't have any to spare ;). With Ncat backups back be extended across the LAN simply.

However Xin isn't limited to performing backups - it is a general purpose utility which can be useful in many other situations.

See xin(1) for more detailed information about the command.

Example

Backup/restore across multiple CDs:

Backup
# find . -print0 -depth | cpio -o0v -Hcrc | xin -b 650M -e stdin2cd
Restore
# cpio -idumv -F /dev/cdrom