locate -Sd /path/to/db

does not give the age of the database. And i can't find any further info in the man pages of locate or updatedb.

Cheers.

有帮助吗?

解决方案

You don't need locate to find out. Just right-click on the file in Explorer and select Properties. The "Created" value tells you when the database has been created.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top