[ale] windoze scripts to linux scripts

arxaaron arxaaron at gmail.com
Wed May 25 20:49:42 EDT 2011


On 2011/05/25, at 19:16 , The Don Lachlan wrote:

> On Wed, May 25, 2011 at 05:55:43PM -0400, arxaaron wrote:
>> On 2011/05/25, at 15:54 , Narahari 'n' Savitha wrote:
>>> What I am looking for is  In Windoze, I can do dir /s /b c:\bin and
>>> it will list all files with full path names
>>> c:\bin\putty.exe
>>> c:\bin\putty.cfg
>>> How do I do that Linux world ?  I know you will tell me do find ~/
>>> bin -name "META-INF" -print
>>> but what I want is the full name of the file including the path.
>>
>> The standard output of the find command IS the full
>> path name (starting at the root /)
>> On this machine, doing a find of type file on my
>> home directory:
>>
>>    find ~ -type f
>> yeilds:
>> /Users/arx/Sites/images/apache_pb.gif
>
> Aaron,
>
> That's because ~ expands to /Users/arx/ - "find -print" returns the  
> path
> relative to whatever directory was specified. If you specify a local
> directory, it prints a local directory.
>

DOH!  big oversight on my part.  Thanks for the correction.

> So you may solve his problem but it does not start at the root /.

I suppose it won't do him much good to show how to do this
with the LIST command in Amiga Exec Shell either...

peace
aaron


>
>
> -L
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo



More information about the Ale mailing list