There is a symlink linked_dir in dir, and I am trying to find when it was created. Within dir, I ran
stat -c %w useq_242_nyc
But the only output is
-
How can I check when this symlink was created?
There is a symlink linked_dir in dir, and I am trying to find when it was created. Within dir, I ran
stat -c %w useq_242_nyc
But the only output is
-
How can I check when this symlink was created?
stat -c %y. – berndbausch Jun 13 '23 at 00:45%yoption worked :) or at least it gave a datetime, which presumably is the creation time – anonuser01 Jun 13 '23 at 01:06touch -hd 1999-02-01 symlinkfor instance on some systems to change the modification time arbitrarily. – Stéphane Chazelas Jun 13 '23 at 05:37%yshows you the time of last modification. In most symlink cases it is identical to the creation time, but see Stephane Chazelas' caveat. – berndbausch Jun 13 '23 at 11:01