Web lists-archives.com

Re: Automatic updating links?




Greg Wooledge <wooledg@xxxxxxxxxxx> writes:

> On Tue, Jun 06, 2017 at 06:41:03PM +0100, Rodolfo Medina wrote:
>> But, I
>> also need that, when renaming the target file, the link would automatically
>> change its name so that it keeps equal to the target's name...  Is this
>> possibile?
>
> No.  Not without exhaustively searching the file system to find the
> other links and rename them, and that would have to be something you
> do manually, *not* automatically triggered by a rename.
>
> What are you actually trying to do?

I'm making a musical mp3s library.  So I have, say, the following directory
tree:

+ musical-library
  | 
  + genres
  | |
  | + classical
  | |
  | + pop
  | |
  | + folk
  | |
  | + opera: una.furtiva.lacrima-schipa.mp3
  |
  |          casta.diva-callas.mp3
  |
  + artists
    |
    + tito-schipa
    |
    + maria-callas
    |
    + frank-sinatra

etc.  Now, suppose that I want to put una.furtiva.lacrima-schipa.mp3 *also* in
the tito-schipa directory, and casta.diva-callas.mp3 *also* in the maria-callas
directory...  That's what I'm trying to do...

Thanks,

Rodolfo