+ Post New Thread
Results 1 to 2 of 2
  1. #1
    Full Member level 2
    Points: 3,266, Level: 13
    Achievements:
    7 years registered
    k_90's Avatar
    Join Date
    Jan 2006
    Location
    Scotland,GB
    Posts
    131
    Helped
    24 / 24
    Points
    3,266
    Level
    13

    Symbolic links with in script

    I want to create a symbolic link using a script.

    Within cadence I've saved the wire assistant settings to which I wish to share to the rest of the team.

    I have saved the file in the general folder to which everyone has access , is there a way to run a script that will automatically create a link?

    in my workarea (varible) at the monment i need to cd into the .cadence/dfII/ia/presets/ and make link, i'm trying to automate it.

    eg : ln -s user$area/.cadence/dfII/ia/presets/icfb_defaults.preset to ../../../../../icfb_settings/icfb_defaults.preset won't work!

    thanks

    •   AltAdvertisment

        
       

  2. #2
    Super Moderator
    Points: 51,438, Level: 55
    Achievements:
    7 years registered
    erikl's Avatar
    Join Date
    Sep 2008
    Location
    Germany
    Posts
    8,062
    Helped
    2640 / 2640
    Points
    51,438
    Level
    55

    Re: Symbolic links with in script

    Quote Originally Posted by k_90 View Post
    ln -s user$area/.cadence/dfII/ia/presets/icfb_defaults.preset to ../../../../../icfb_settings/icfb_defaults.preset
    won't work!
    Remove the "to" between the two file names.

    user$area must be defined, of course.
    Last edited by erikl; 30th November 2018 at 19:20. Reason: additional info



--[[ ]]--