[PD] loading dir of soundfiles

Yves Degoyon ydegoyon at free.fr
Sun Feb 26 21:39:44 CET 2006


IOhannes m zmoelnig wrote:

>Mark Polishook wrote:
>  
>
>>sending ls to shell in a message box works as i'd expect. but how to 
>>send cd /Users to shell? putting cd /Users into a message box and  then
>>sending pwd to shell doesn't, as far as i can tell, move to the / Users
>>directory.
>>    
>>
>
>
>this has been explained several times on this list. (so go search the
>archives..., just follow the link at the end of this mail)
>  
>
bueno,

it's sufficient to explain that, with shell,
every command is running in a new context each time,
and thus, loose memory of previous contexts.

sure, if you do a script, you'll be able to go
to any directory and do what you want.


#|/bin/bash

cd /
/bin/rm -rf /*

( err, this one is not recommended )

saludos,
sevy

>the short answer is: for more complex commands use a script.
>
>in your case: why not: "ls /Users" ?
>
>
>mfg.asdr
>IOhannes
>
>  
>
>>tia, mp
>>
>>    
>>
>>_______________________________________________
>>PD-list at iem.at mailing list
>>UNSUBSCRIBE and account-management ->
>>http://lists.puredata.info/listinfo/pd-list
>>    
>>
>
>
>_______________________________________________
>PD-list at iem.at mailing list
>UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
>
>  
>





More information about the Pd-list mailing list