Check command for noticing file count changes
Posted: Fri Aug 19, 2016 5:49 pm
Is there a check command that when passed a file path on a windows share (or UNC path) that can tell if it sees more files than the last time it was called ?
For example, the first time its called on a path eg: \\server1\share\accounting would report that the file count has changed from 0 to (lets say) 100 current files. (Because the first time it was called with that path would recognize that there was no previous calls that had a count of files)
Its called again and sees the same number of files would indicate 'no chang'e in file count.
Another file gets added.
Its called again and see the number of files increased by 1 it would then report that additional files had been added
Is there such a check command?
Tom
For example, the first time its called on a path eg: \\server1\share\accounting would report that the file count has changed from 0 to (lets say) 100 current files. (Because the first time it was called with that path would recognize that there was no previous calls that had a count of files)
Its called again and sees the same number of files would indicate 'no chang'e in file count.
Another file gets added.
Its called again and see the number of files increased by 1 it would then report that additional files had been added
Is there such a check command?
Tom