Best approach to detecting a move or rename to a file in Linux?

后端 未结 3 1386
南旧
南旧 2021-01-13 18:25

Some solution could probably be applicable to Windows, however I am not familiar with the Windows OS, so this will be Linux focused.

As far as I understand, Unix fil

3条回答
  •  灰色年华
    2021-01-13 19:13

    logroate use mv command, there have a article to explain why the fd not change when the file be moved How do the UNIX commands mv and rm work with open files?

提交回复
热议问题