---
title: "State Tracker - What is the behaviour of the State Tracker when only the content of the file is being overwritten?"
description: "The State Tracker plug-in only re-reads a file if the file's inode changes. Overwriting file content without changing the inode does not trigger a re-read, but moving or copying the file does."
url: "https://docs.itrsgroup.com/docs/faq/geneos/115004019525-geneos-state-tracker-what-is-the-behaviour-of-the-state-tracker-when-only-the-content-of-the-file-is-being-overwritten/index.html"
---
## Answer

The file's inode must change for the plug-in to re-read the file from the beginning (even if the Rewind option is enabled).

A simple replacement of the contents (i.e. cat file.txt > log.txt) will not trigger the re-read. But a move or copy (i.e. cp file.txt log.txt) will trigger the re-read of file from the beginning.

## Related articles

- [StateTracker plugin documentation](https://docs.itrsgroup.com/docs/geneos/current/collection/state-tracker/index.html)


