43 Folders

43 Folders feed subscription icon - Shiny!Time, Attention, and Creative Work. After 4 years and a lot of productivity pr0n, we’re shifting gears. Re-learn how to use 43 Folders. Then back to work. [»]

”What’s 43 Folders?”
43Folders.com is Merlin Mann’s website about finding the time and attention to do your best creative work.

Creation time for files in Linux

Hello All,

Is there a command to find the time & date of creation of a file in Linux. If i do a stat, i could get the file details. But i'm unable to get the time of creation of file.

Can someone tell me if there is a command to find the time & date of creation of a file in Linux?

Thanks!


TOPICS: GNU/Linux

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jason.mcbrayer's picture

Strictly speaking, no. 'ls...

Strictly speaking, no. 'ls -lc' will show you the 'ctime' of files, but that isn't actually the creation time. It's the time of last modification of file metadata, which could be the file's creation time, but it could also be the last time it was renamed, had its permissions changed, etc.

enine's picture

Yes, the linux file systems...

Yes, the linux file systems are a little different and all that I know of don't track it. I've been using the file metadata anyway since its more accurate as I've found that even in OS's that do track file creation time moving files to another drive messes it up since the file gets created on that drive. So when you put a new drive in your laptop and copy all the files from the old one the creation times are all changed to the time of the copy.

About bendgamine

 
EXPLORE 43Folders THE GOOD STUFF

An Oblique Strategy:
Discover the recipes you are using and abandon them


STAY IN THE LOOP:

Subscribe with Google Reader

Subscribe on Netvibes

Add to Technorati Favorites

Subscribe on Pageflakes

Add RSS feed

The Podcast Feed

Inbox Zero

The original 43 Folders series looking at the skills, tools, and attitude needed to empty your email inbox — and then keep it that way. Don’t miss the free video of Merlin’s Inbox Zero presentation.

Making Time

3-part series on attention management for artists and makers. Read Bad Correspondence, The Job You Think You Have, and One Clear Line.