du ./ | sort -n -r | head -n 20grep -rnw -e "string" .wc -l * | sort -rndu -sb * | awk ' { sum+=$1; ++n } END { print sum/n/1024 } 'watch -n 5 "python test.py"This will execute test.py every 5 seconds and prints out the output.
python eval.py eval-overall /home/paradox/Nish/Programming/Python/conda-shit/docsumo/gitlab/image-preprocessing/output/responses/17-dec/17-dec-response.pkl | grep -oP -- "^[^IMG_].*\+\d+" | awk '{print $1;}' | sed 's/^/\/home\/paradox\/data\/docsumo\/bs-images\//' > tmp/good.txt
python eval.py eval-overall /home/paradox/Nish/Programming/Python/conda-shit/docsumo/gitlab/image-preprocessing/output/responses/17-dec/17-dec-response.pkl | grep -oP -- "^[^IMG_].*\+\d+" | awk '{print $1;}' | sed 's/^/\/home\/paradox\/data\/docsumo\/bs-images\//' | while read file ; do cp "$file" "/home/paradox/data/docsumo/bs-images/new/"; doneSoftlink
ln -s /path/to/original/file /path/to/target/file