Linked Questions
17 questions linked to/from How do I do a ls and then sort the results by date created?
283 votes
3 answers
985k views
Get file created/creation time? [duplicate]
Possible Duplicate: How do I do a ls and then sort the results by date created? Is there a command in Linux which displays when the file was created ? I see that ls -l gives the last modified time,...
3 votes
1 answer
9k views
Is ctime of find the creation time? [duplicate]
In the man of find the -ctime is said to be : -ctime n File status was last changed n*24 hours ago. See the comments for -atime to understand how rounding affects the ...
139 votes
9 answers
439k views
How can get the creation date of a file?
I want to find out the creation date of a particular file on a Linux system. Not the modification date or access date, the creation date. I have tried with ls -ltrh and stat filename but neither gives ...
112 votes
6 answers
73k views
Birth is empty on ext4
I was just reading up on the Birth section of stat and it appears ext4 should support it, but even a file I just created leaves it empty. ~ % touch test ...
28 votes
9 answers
95k views
get age of given file
How can I get the age of a given file in, at least, days? I'm well aware of ls -lh and similar commands. I want something that will work sort of like this: getfage <FILE> # prints out '12d' (...
43 votes
4 answers
32k views
What file systems on Linux store the creation time?
Are there any (good known, reliable) file systems on Linux that store the creation time of files and directories in the i-node table? If there are, is the "changed" time replaced by the creation ...
4 votes
2 answers
7k views
Difference between `ls -c` and `ls -t`
What is the difference between -c and -t options for the ls Unix command? And how can I sort by date of creation with the ls command?
4 votes
2 answers
7k views
How to solve sudo: unable to execute /bin/ls: Argument list too long
When I run this command from php sudo -u db2inst1 ls -t /var/lib/edumate/bdrs/*/*/daily/*NODE* | sort -r I receive sudo: unable to execute /bin/ls: Argument list too long ls lists all daily backup ...
1 vote
1 answer
11k views
List files from time X to time Y
How to list out all files created between from 'x' to 'y' time? I want to list out files created between "29-dec-2014 18:00" to "30-dec-2014 18:00". Using ls or stat?
5 votes
2 answers
1k views
Is there any equivalent to Mac OS X's "Date Added" file attribute?
OS X keeps the date and time a file was added to the folder it's currently in, which is useful for sorting. Does any Unix/Linux filesystem or program offer similar functionality? This is not a ...
6 votes
0 answers
2k views
When was file created [duplicate]
How can i see when a file was created. I have looked at man page ls -lc is for last modification of file status ls -lu for access time ls -l not exactly indicated which time, last changed? I ...
1 vote
1 answer
1k views
Since when do Unix systems support birth/creation time (btime/crtime) for files and directories?
Does anyone know when Unix supports birth/creation time stamps for files and directories? If possible also when first file manager (GUI) displays it by default for users. For comparison with Windows, ...
0 votes
0 answers
1k views
birth/crtime timestamp is recorded on one xfs but not the other xfs filesystem
Two different xfs filesystems on two different Fedora. Why one of them records Birth(crtime) in the inode and why the other one doesn't? How to find the configuration/attribute differences between ...
0 votes
1 answer
786 views
Deleting files using xargs prints lots of No such file or directory (but seems to work...)
I have a script that deletes files older than N minutes. The script basically runs: find /some-folder/* -mmin +59 | xargs rm -rf But for some reason it prints tons of: No such file or directory but ...
6 votes
0 answers
775 views
Change file creation timestamp on an exFAT volume from Linux
The question As of today, Unix standards don't support a file "creation time" attribute. However, many filesystems, like ext4, exFAT and NTFS, internally do save a creation time for their ...