Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-03-2012, 02:41 AM   #1
Munawar Shah
LQ Newbie
Registered: Feb 2012
Posts: 1

Rep: Reputation: Disabled
Subject: : Confirmation of the initial creation date of directories in Linux environ

How can I find initial creation date of directories in Linux environment along with actual size?
Old 02-03-2012, 03:33 AM   #2
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
It may not be possible; typically only three kinds of times are recorded on Linux filesystems (and reported by the tools): access, change and modification. If you want to know a creation date for some reason, you should record it yourself somewhere when you create the directory. See for example
man stat
for some more information.

The size of the directory can mean several things, in the simplest case either the size taken by the "directory itself", or the size of all the data "contained in the directory". See
man ls
man du
for example.
Old 02-04-2012, 06:47 AM   #3
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Moved: This thread is more suitable in Linux-Newbie and has been moved accordingly to help your thread/question get the exposure it deserves.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
images creation date newer than last modified date fenrisW0lf Linux - Newbie 3 07-28-2009 06:04 PM
File creation date of vfat / fat32 files on linux snail Linux - Newbie 3 06-03-2009 06:56 PM
confirmation requested - Rieser3 directories to EXT3 via tar PAix Linux - General 6 12-08-2008 12:35 PM
File Creation Date in linux jayukanna General 5 08-21-2006 08:08 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration