Re: rsync or even scp questions....

2008-10-13 Thread Jeremy Hooks
How, may I ask, does this work? If you search the bash man file you can find this and lots of other useful constructs, search for 'Parameter Expansion' - I'm not sure how much of this relates to other Bourne Shell derivatives, but I don't imagine it would be difficult to test it out.

Re: rsync or even scp questions....

2008-10-12 Thread Matthew Seaman
mdh wrote: --- On Sat, 10/11/08, Gary Kline [EMAIL PROTECTED] wrote: On the Ubuntu computer I am /home/kline; on my main computer, my home is /usr/home/kline. The following sh script worked perfected when my home on tao [FBSD] was /home/kline: P #!/bin/sh PWD=`pwd`;

Re: rsync or even scp questions....

2008-10-12 Thread Jeremy Chadwick
On Sun, Oct 12, 2008 at 09:42:38AM +0100, Matthew Seaman wrote: mdh wrote: --- On Sat, 10/11/08, Gary Kline [EMAIL PROTECTED] wrote: On the Ubuntu computer I am /home/kline; on my main computer, my home is /usr/home/kline. The following sh script worked perfected when my home

Re: rsync or even scp questions....

2008-10-12 Thread Gary Kline
On Sun, Oct 12, 2008 at 09:42:38AM +0100, Matthew Seaman wrote: mdh wrote: --- On Sat, 10/11/08, Gary Kline [EMAIL PROTECTED] wrote: On the Ubuntu computer I am /home/kline; on my main computer, my home is /usr/home/kline. The following sh script worked perfected when my home

Re: rsync or even scp questions....

2008-10-12 Thread Gary Kline
On Sun, Oct 12, 2008 at 01:49:31AM -0700, Jeremy Chadwick wrote: On Sun, Oct 12, 2008 at 09:42:38AM +0100, Matthew Seaman wrote: mdh wrote: --- On Sat, 10/11/08, Gary Kline [EMAIL PROTECTED] wrote: On the Ubuntu computer I am /home/kline; on my main computer, my home is

Re: rsync or even scp questions....

2008-10-11 Thread mdh
--- On Sat, 10/11/08, Gary Kline [EMAIL PROTECTED] wrote: On the Ubuntu computer I am /home/kline; on my main computer, my home is /usr/home/kline. The following sh script worked perfected when my home on tao [FBSD] was /home/kline: P #!/bin/sh PWD=`pwd`; echo