Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rename symbolic links

Status
Not open for further replies.

woche

Programmer
Jan 16, 2002
25
CH
Hi
Has anyone got an idea of how to rename a symbolic link other than deleting and recreating the links.
thx
woche
 
Hi,

mv works fine with both files and symbolic links. "Long live king Moshiach !"
 
sorry, my english...;-)

I try once again: I'm not actually trying to rename the link but to relink it, eg: pcms_home -> /mydir to a new destiantion: pcms_home -> /yourdir.

woche
 
ok.

ln -s -f /yourdir pcms_home "Long live king Moshiach !"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top