I want to only save part of the output of script.py, and to a file in another folder.
script.py prints out a list of file names and their sizes, like
file_asfs.txt- 2KB
file_jsdfhkjh.doc- 17KB
....
If I want to save only the list of file names that are exactly 2KB in a text file /temp/filelist , how do I go about doing that?
sed,awk,grep, etc. to extract the parts you want from the output.