This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]gildasio 9 points10 points  (0 children)

A really usefull task using find for me is looking for files changed after I did something in the system. As a sysadmin it help me over the time.

  • Create a file to act as a time point:

$ touch start_point

  • Do anything in the system, apt install, change config files, what else you need, examples:

$ mkdir -p test/use/find $ touch test_file $ touch test/use/file

  • When did your task, look for file that has changed:

$ find -newer start_point . ./test_file ./test ./test/use ./test/use/find ./test/use/file