Bash Scripting Problem
Dietmar Goldbeck
dietmar.goldbeck at acm.org
Tue May 25 00:51:36 CEST 2004
On Mon, May 24, 2004 at 08:58:53PM +0200, Florian Schwarz wrote:
> >find . -type d -maxdepth 1 -exec ln -sf {} $TARGET/{} \;
>
> Das Problem hierbei ist, dass find das Startverzeichnis als . findet.
> Und nen ln -sf . $Target/. kommt nicht besonders gut. :o)
>
> Kann ich das noch irgendwie umgehen?
-mindepth 1 ergänzen.
--
Alles Gute / best wishes
Dietmar Goldbeck E-Mail: dietmar.goldbeck at acm.org
Reporter (to Mahatma Gandhi): Mr Gandhi, what do you think of Western
Civilization? Gandhi: I think it would be a good idea.
More information about the Linux
mailing list