User Tools

Site Tools


archive:bioinformatic_tools:udt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
archive:bioinformatic_tools:udt [2010/05/26 20:44]
galt UDT Page
archive:bioinformatic_tools:udt [2015/07/28 06:27] (current)
ceisenhart ↷ Page moved from bioinformatic_tools:udt to archive:bioinformatic_tools:udt
Line 13: Line 13:
   setenv LD_LIBRARY_PATH /​thepath/​udt4/​src/​   setenv LD_LIBRARY_PATH /​thepath/​udt4/​src/​
   ​   ​
 +
 +On the sending machine you type 
 +  sendfile
 +
 +This opens up a connection and returns a port number. On the receiving machine type 
 +  nslookup [send_machine_name] ​
 +
 +to get the ip address of the sending machine. Now that you have the port number (returned by sendfile) and the ip address of the sending machine given by nslookup, you can transfer the file using recvfile like this:
 +  recvfile [send_ip_address] [send_port_num] [full/​path/​to/​file/​on/​send/​machine] [./​recieve_file_name]
 +  ​
 +Note that this will transfer the single file, then close the sendfile connection on the sending machine once the transfer is complete. Unfortunately I have not been able to figure out how to get it working on folders. Since you can't easily write a script to iterate through a bunch of files, the best option would probably be to archive all files you want to transfer at one time into a single .tar file and then transfer that file. To create a tarball of a directory (without any compression) execute this command:
 +
 +  tar cvf output.tar input_folder/ ​     #creates a tar archive of the folder and its contents
 +  tar xvf output.tar ​   #untars the folder and its contents
 +
  
archive/bioinformatic_tools/udt.1274906659.txt.gz · Last modified: 2010/05/26 20:44 by galt