Get the file creation time and date under Raspbian Linux. lazarus / 32-Linux ---------------------------------------------------------------------- pascalbythree · 2021-10-12 10:55 Hey does anybody know how to read the file creation date and time from a file to a TDateTime ? Maybe i need the file change date later on. On linux. It is ment to poll in a loop to see if a .hex file is changed and then start avrdude with the filename. also when its overwritten. PS: i did try some default functions, but does not seem to be sufficiant ---------------------------------------------------------------------- MarkMLl · 2021-10-12 11:15 Look up fpStat() and fpFStat() in BaseUnix. MarkMLl ---------------------------------------------------------------------- Kays · 2021-10-12 12:12 Quote from: pascalbythree on October 12, 2021, 12:55:05 pmIt is ment to poll in a loop to see if a .hex file is changed and then start avrdude with the filename.The clean solution would be use inotify(7). See also a demo in the wiki. ---------------------------------------------------------------------- pascalbythree · 2021-10-12 12:39 It got to work! thank you all for the help so far! Now i am going to work on starting the fpc exe on automatic login prompt. in SH. ---------------------------------------------------------------------- MarkMLl · 2021-10-12 12:57 Quote from: pascalbythree on October 12, 2021, 02:39:21 pmIt got to work! thank you all for the help so far! Now i am going to work on starting the fpc exe on automatic login prompt. in SH. Watch it: you're not running SH and almost certainly aren't running sh either :-) Different shells use different startup scripts at different times: you're probably running either Bash or Dash so /probably/ need to look at ~/.bashrc MarkMLl