On 09/02/04 03:57 +0530, Ritesh Raj Sarraf wrote:
<snip>
> I've got a main file HEADER.html at my base directory (i.e. 
> /mnt/ftp/pub/extra/ricky/documentation) which I want to be 
> symbolically linked to all the directories and sub-directories under 
> my base directory.
This doesn't make sense. You cannot link a single file to multiple
files.
You could create an index file with all the directories.

> Note: The directories and sub-directories under my base directory
> contains mostly .html files of Soft Books.
> 
> I've been trying with the following command but haven't succeded yet. :-(
> 
> # Script
> for foo in */*
> do
>       if [ -d $foo ]
>       then
>               cd $foo;
>               ln -s /mnt/ftp/pub/extra/ricky/documentation/HEADER.html HEADER.html;
>       fi
> done
> # Script
find /mnt/ftp/pub/extra/ricky/documentation/ -type d > index.txt

Devdas Bhagat


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to