Unix command to get file creation date




















Thomas Nyman Thomas Nyman You can use stap to create your own kernel API. See example in answer here. POSIX is actually wrong on this. You can extract the ext4 creation times on Fedora 19 systems. Ok, that is just cool. Community Bot 1. Otherwise, the file won't be found. Lri Lri 4, 1 1 gold badge 24 24 silver badges 19 19 bronze badges. Very useful, thanks! Evidently there's more than one way to do it.

Notes: --printf is very useful in scripting! PersianGulf PersianGulf 9, 7 7 gold badges 46 46 silver badges 75 75 bronze badges. Check this out: the last arg is the device to scan in. I haven't found a solution for BtrFS Renich Renich 39 3 3 bronze badges. That's pretty much what beginer 's answer says Good Pen Good Pen 15 5 5 bronze badges.

It has been implemented. Use The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Active 1 year, 11 months ago. Viewed 19k times. Improve this question. Nish Nish 2 2 gold badges 5 5 silver badges 13 13 bronze badges. Add a comment.

Active Oldest Votes. Improve this answer. It's in the GNU coreutils. For this I would try the code below: Try: ls -la grep filename Let me know if it works. Sign up or log in Sign up using Google. Hi All, I have some files which are creates every day using a script. I want to create a log files which does write "filename,creation day and time" how can I do this??

Alice 3 Replies. RedHat Commands. OpenSolaris Commands. Linux Commands. SunOS Commands. FreeBSD Commands. Full Man Repository. Advanced Search. Contact Us. Forum Rules. Mark Forums Read. Thread Tools. View Public Profile for unipepper. Find all posts by unipepper. View Public Profile for rahulrathod. Find all posts by rahulrathod. View Public Profile for matrixmadhan. Find all posts by matrixmadhan.



0コメント

  • 1000 / 1000