in reply to How do I count all the files in all subdirectories?
That could be helped if you had some way to uniquely identify the directory other than its name. Say, some key file that never changes and never gets renamed itself.
You could have all the renamings and other changes go though an API that has hooks, or puts out a journal report, that your tools can use to know what's happening.
Some OS's will do that for you directly.
Some OS's have hooks or 3rd party tools to obtain a virtual "snapshot", meant for making consistant backups.
—John
|
|---|