Ben Chuanlong Du's Blog

And let it direct your passion with reason.

Tips on the find command in Linux

It is suggested that you use Python (the pathlib module), fselect or osquery (currently have some bugs) to locate files. The Python module pathlib is the most suitable one for relatively complex jobs. Both fselect and osquery support SQL-like syntax and are more intuitive than the find command.

  1. Find all …