in reply to Re^2: Which feed method?
in thread Which feed method?
Actually, as YourMother pointed out, -M is script start time minus file modification time, in days. So, you will get different results every time your script is started.
Using stat, however, will give you the actual modification time in seconds since the epoch.1 You will always get the most recent time the file was modified no matter when your script was started.
1If you don't know what the epoch is, don't worry, it's just a fixed point in time defined in a standard.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Which feed method?
by hankcoder (Scribe) on May 10, 2016 at 14:49 UTC | |
by RonW (Parson) on May 10, 2016 at 17:19 UTC | |
|
Re^4: Which feed method?
by hankcoder (Scribe) on May 10, 2016 at 17:17 UTC |