0
Inside a directory with several subdirectories I can search all the files . py, see only which ones have datetime and show me only the largest of them. Using find, grep, ls and head, but when I try to copy the output of head, in case the largest py. file that has datetime, error! Actually I wanted to copy this file to use grep on it again to find all the classes and functions of that file. If anyone has any tips, thank you!
based on stackoverflow responses in cp 'ls -S /path/to/Folder | head -1 ' /path/da/copy
– Lucas Miranda