Re: Scripts and soft links.... Problem identified and fixed, sort of.
From: .... (e56c3678_at_adelphia.net)
Date: 04/17/05
- Next message: Handover Phist: "2.6.x and cdrecord"
- Previous message: spaztick1__at_excite.com: "Install Help"
- Next in thread: Chris F.A. Johnson: "Re: Scripts and soft links.... Problem identified and fixed, sort of."
- Reply: Chris F.A. Johnson: "Re: Scripts and soft links.... Problem identified and fixed, sort of."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 17 Apr 2005 17:55:46 -0400
This morning, I finally discovered the problem, and got the script working.
As it turns out, for some reason, "\r" was being appended to the end of path
in my mkdir commands, causing my whole directory structure to be wrong. (ln
was not finding the path, since it was created wrong.)
I'm guessing that somewhere in the process, the first script (which
generates the second, much longer script) was adding \r to the end of the
lines containing mkdir commands; no clue why, but I've bypassed to problem.
I removed the mkdir lines from the scripts, created the dirctory structure,
and made a COPY of the empty tree of folders, which I can archive using
minimal space. The script runs the way it should now, and populates the
empty folders (copied from the "archive" tree) with the appropriate links.
Many thanks to those who offered help--especially since the *REAL* problem
was not where the problem appeared to be.
"...." wrote in message news:r7udnYVz6_BNNvzfRVn-jw@adelphia.com...
> Okay, gang. I need some help here, and I'm rapidly getting frustrated.
>
...
> WHAT I WANT TO DO:
>
> Create a link, /<path1>/LinkName --- which points to a file,
> /<path2>/FileName --- in a script.
>
> LinkName and FileName are not necessarily the same name.
>
> Neatness and length are unimportant to me; I can write a program to do the
> duplication and "fill-in-the-blank" to generate the final script. I JUST
> WANT IT TO WORK!!!
>
> If anybody knows a way to do this, PLEASE HELP!!!
>
> Thanks!
>
>
- Next message: Handover Phist: "2.6.x and cdrecord"
- Previous message: spaztick1__at_excite.com: "Install Help"
- Next in thread: Chris F.A. Johnson: "Re: Scripts and soft links.... Problem identified and fixed, sort of."
- Reply: Chris F.A. Johnson: "Re: Scripts and soft links.... Problem identified and fixed, sort of."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|