Skip to content

Modify BISAC folder structure to replace simple references with relative symlinks #95

@SpencerDub

Description

@SpencerDub

I find the BISAC folder structure quite helpful; however, many of the categories contain folders that reference other folders. For instance:

/ANTIQUES & COLLECTIBLES/Ceramics see Pottery & Ceramics
/ART/Product Design see DESIGN-Product
/LAW/Divorce see Family Law-Divorce & Separation

It would be useful if these singular references were replaced with relative symlinks to the specified targets.

There are other references that would not make unequivocal sense to replace because they are not direct references to a single alternative category, such as:

/ART/Design see headings under DESIGN
/ANTIQUES & COLLECTIBLES/Sports (see also headings under Sports Cards)/
/ANTIQUES & COLLECTIBLES/Televisions & Television-Related see Performing Arts or Radios & Televisions/

Modifying the directories and creating symlinks in this way seems like a good use of a script; however, I've been unable to write an effective bash script to do this, since it keeps getting caught up on the cross-subject references (...see DESIGN-Product) and creating symlinks for those incorrectly (/ART/Product Design/Product). Perhaps someone who's just a little more skilled at scripting than me could do this in one fell swoop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions