netdd Code
Brought to you by:
vinuxes
File | Date | Author | Commit |
---|---|---|---|
Makefile | 2010-07-14 | vinuxes | [r1] First beta release of netdd command. |
README | 2010-07-14 | vinuxes | [r1] First beta release of netdd command. |
netdd.c | 2010-07-14 | vinuxes | [r1] First beta release of netdd command. |
What is this? ============ Netdd : The linux dd command extended across networks. It helps you copy files across networks. You may copy a full disk or a partition using this command. This would create two binaries (infact one binary, actually one is a link of another). These binaries are named as 'netddrecv' and 'netddsend'. Example usage ============= There is a disk called /dev/sda on ipaddress 192.168.1.1. There is another disk called /dev/sdb on ipaddress 192.168.1.2. Now to copy /dev/sda@192.168.1.1 to /dev/sda@192.168.1.2, run the following command: On 192.168.1.2: netddrecv /dev/sdb 3228 On 192.168.1.1: netddsend 192.168.1.2 3228 /dev/sda To compile ========== make To install ========== make install This would install /bin/netddrecv and /bin/netddsend. You may edit the Makefile to whatever installation prefix as per your choice. To uninstall ============ make uninstall To cleanup: =========== make clean