You are not logged in.

#1 2021-09-21 23:15:05

erfanjoker
Member
From: Tabriz / Iran
Registered: 2017-03-26
Posts: 174
Website

Get Number of total files of a directory in all time

Hi, Is there any way to know the total number of files that have been in a directory since the directory's creation ? Suppose that i created the directory 2 days ago, and everyday I had 100 files and delete 100 files ..., After 2 days it has 100 files, but the Total files that have been in this directory is 200, I want the total files that have been, any tools to monitor ?

Offline

#2 2021-09-21 23:18:06

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,498
Website

Re: Get Number of total files of a directory in all time

There are tools to monitor such things - look into inotify.  However there is no way to address this retroactively.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB