Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers



View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
    #5  
Old 09-23-2008
shamrock shamrock is offline Forum Advisor  
Registered User
 
Join Date: Oct 2007
Location: USA
Posts: 1,304
Thanks: 11
Thanked 99 Times in 95 Posts
fpmurphy is absolutely correct...yes you can change the target of a soft link without deleting the old one by forcing ln to do so.

Code:
ln -s /home/Data1 /home/Stores/abc
ln -f -s /home/Data2 /home/Stores/abc