Checking when a folder was created in Bash?

209 views Asked by At

I know you can't for files, but is there by any chance a way to check this for folders?

1

There are 1 answers

2
Rakholiya Jenish On

It is not possible to get creation time of any files in linux, since

Each file has three distinct associated timestamps: the time of last data access, the time of last data modification, and the time the file status last changed.

Also you as you wrote in your question "I know you can't for files, but is there by any chance a way to check this for folders?", in linux, all files and directories are considered as files, so you have your own answer in your question.

Source