[NTLUG:Discuss] changing timestamp on symbolic link?

Jack Snodgrass jack+ntlug at mylinuxguy.net
Wed Mar 12 09:00:37 CST 2003


On Wed, 12 Mar 2003 08:43:13 -0600, Lance Simmons wrote:

> I'd like to change the timestamp on a link (hard or symbolic, I don't
> care which) without changing the timestamp on the target.
> 
> Does anyone know how to do that?  
> 
> If it's impossible, why do symbolic links have timestamps at all?

ln -s -f real-file symbolic-name
will force ( -f ) the link to be remade and it updates
the timestamp on the link too. 

Not sure if this works with hard links. I only use / tested
this on a symbolic link. 

jack ( via NNTP Server ) 


More information about the Discuss mailing list