LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Subject: : Confirmation of the initial creation date of directories in Linux environ (https://www.linuxquestions.org/questions/linux-newbie-8/subject-confirmation-of-the-initial-creation-date-of-directories-in-linux-environ-927340/)

Munawar Shah 02-03-2012 01:41 AM

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?

b0uncer 02-03-2012 02:33 AM

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
Code:

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
Code:

man ls
man du

for example.

XavierP 02-04-2012 05:47 AM

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


All times are GMT -5. The time now is 08:20 PM.