Cynosure.X International

RelayTransfer.sh (GPL)
Mon, 05 May 2008 18:22:41 +0000

Have you ever wanted to transfer some files from your computer to a computer on a different network. Your computer can't talk directly to that computer. So you'll have to first transfer the files to a relay computer that could see both network. Then transfer the files over to the destination computer and finally clean up all the files on the relay computer. That's a lot of of work if you have the repeat that process all the time.

This is where RelayTransfer.sh comes in handy. RelayTransfer.sh does the work for you. You just have to specify the files you want to transfer, the destination for the files, and the relay computer that will do the transfer. After specifying that, RelayTransfer.sh will do all the work. Because RelayTransfer.sh is written as a command-line Bourne shell script, it can be used in your own custom scripts. You can use it to automate your transfers.

TransferBroker.sh takes advantage of the GetTempDirPath.ksh (GPL) Korn shell script, the GetTempPathName.ksh (GPL) Korn shell script, the TransferBroker.sh (GPL) Bourne shell script. These scripts are also available on this site. So to use the RelayTransfer.sh script, you will need to download these other scripts if you don't already have them.

RelayTransfer.sh is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site.

Usage

RelayTransfer.sh "[USER@]HOST:SRC" "[USER@]HOST:DEST" "[USER@]Relay Host"

Category: :

Comments | PermaLink | Related Links | TrackBack

Mars 2143 A.D.
Sun, 04 May 2008 09:26:15 +0000

I've spent some time correcting grammatical errors and filing out details for the Mars 2143 A.D. supplement. It is now complete. I will continue to make minor changes, such as fixing typos, etc. And probably add a spacesuit section. But the changes will be so minor that I believe the Mars 2143 A.D. supplement is now a finished product. I hope you enjoy this supplement for Cyno's Role-Play.
Category:

Comments | PermaLink | Related Links | TrackBack

PHP_ShowInterface.sh (GPL)
Fri, 02 May 2008 21:18:02 +0000

PHP_ShowInterface.sh is a Bourne Shell script that helps you output the class and function interface of any PHP source code. It's a simple real-time JavaDoc and Docygen-like utility for PHP. Using this script, you can quickly see the interface to any PHP source code.

PHP_ShowInterface.sh is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site.

Usage

PHP_ShowInterface.sh "file 1" [ . . . "file n" ]

Examples

$ PHP_ShowInterface.sh StringTokenizer.php
class StringTokenizer
function StringTokenizer ($str, $delim = " \t\r\n")
function countTokens ()
function hasMoreTokens ()
function nextToken ()

Category:

Comments | PermaLink | Related Links | TrackBack

TransferBroker.sh (GPL)
Fri, 02 May 2008 21:17:19 +0000

Are you looking for a way to transfer files from host A to host B without actually being on either host? Say you are on host C?

TransferBroker.sh is a Bourne Shell script that lets you transfer files between two remote hosts, without needing to be on either host. The syntax for using TransferBroker.sh is very similar to rsync and scp, so the learning curve is greatly reduced. It also takes advantage of the rsync efficiency, so files that are the same on the two remote hosts are not transfered; only the differences between files are transferred.

TransferBroker.sh takes advantage of the GetTempDirPath.ksh (GPL) Korn shell script, which is also available on this site. So to use this script, you will need to download the GetTempDirPath.ksh script if you don't already have it.

TransferBroker.sh is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site.

Usage

  Usage:   TransferBroker.sh "[USER@]HOST:SRC" "[USER@]HOST:DEST"
or TransferBroker.sh "rsync://[USER@]HOST[:PORT]/SRC" "rsync://[USER@]HOST[:PORT]/DEST"


Category: :

Comments | PermaLink | Related Links | TrackBack

FileExists.sh (GPL)
Fri, 02 May 2008 20:43:50 +0000

FileExists.sh is a Bourne Shell script that helps you determine whether any file that matches your specified file masks exists. This script will return 1 or 0, which represents true and false respectively. This script returns true when one or more files are found using any of the file masks you specified on the coomand-lines. Using this script, your other scripts can easily determine whether some files exist.

FileExists.sh is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site.

Usage

FileExists.sh mask1 [ . . . mask2 ]

Examples

: FileExists.sh "*.sh"
1
: FileExists.sh "*.woefj"
0
: FileExists.sh "*.sh" "*.woefj"
1

Category: :

Comments | PermaLink | Related Links | TrackBack

Products | Services
Forums | Latest | RSS
Licenses | Search
About CI | Help


Copyright © 1996 - 2008 by Chieh Cheng. All Rights Reserved.