Script Help (Bash)

Junk junk at therobinsonfamily.net
Sat Sep 28 13:27:57 UTC 2013




On 28 Sep 2013, at 14:19, Frank Murphy <frankly3d at gmail.com> wrote:

> On Sat, 28 Sep 2013 13:55:15 +0100
> "Patrick O'Callaghan" <pocallaghan at gmail.com> wrote:
> 
>> On Sat, Sep 28, 2013 at 12:21 PM, Frank Murphy
>> <frankly3d at gmail.com> wrote:
>> 
>>> /usr/bin/cd
>> 
>> 
>> Without looking any further, this is clearly wrong. Even if there
>> is a /usr/bin/cd file (see recent discussion) in order to have any
>> effect on the current directory used by subsequent commands you
>> *have* to use the Shell built-in cd.
>> 
>> poc
> 
> I got around that by adding script to path,
> then "alias my_script=". my_script"
> 
> so it download where I need it.
> 
> -- 
> Regards,
> 

reposync -p dest-dir would be easier. 

Junk


More information about the users mailing list