Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change Timestamp Using a Symbolic Link with Linux Touch Command
#1


    Change Timestamp Using a Symbolic Link with Linux Touch Command

   

When you use a symbolically linked file name with the Linux touch command, the timestamp information for the original file, that was pointed by the link file, gets modified. To change the access and modification time to the current time for a symbolically linked file, use the -h option:

   
touch -h SymbolicLinkFile
   

   

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)