2
I’m a beginner in programming and I’m stuck in a code here.
Through shell I have to search inside directories and subdirectories all files that are of format .py
and have the bookstore datetime
included. And after that I have show the largest file on that list. The first two parts came out, but I have no idea how to show their biggest file:
find . -name '*.py' -type f exec -grep "import datetime" {} -lirw \;
This code is working well to fetch all python files that have the library datetime
.
I appreciate the help