LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-03-2012, 01: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, 02:33 AM   #2
b0uncer
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
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.
 
Old 02-04-2012, 05:47 AM   #3
XavierP
Moderator
 
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.
 
  


Reply



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 05:04 PM
File creation date of vfat / fat32 files on linux snail Linux - Newbie 3 06-03-2009 05:56 PM
confirmation requested - Rieser3 directories to EXT3 via tar PAix Linux - General 6 12-08-2008 11:35 AM
File Creation Date in linux jayukanna General 5 08-21-2006 07:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:21 PM.

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