I have a simple bash script to run:
cat full_path.csv | parallel --progress -j +0 'echo -n {},; pdfgrep -c [^_] {};' > path_count.csv
Parallel's progress indicator "--progress"
, writes into the file path_count.csv
. I only want echo {}
and pdfgrep {}
to write to the file, while showing --progress
output to screen.
If I do :
cat full_path.csv | parallel --progress -j +0 'echo -n {},>>path_count.csv; pdfgrep -c [^_] {}>>path_count.csv;'
the file path_count is still garbled with progress.
Any help is appreciated. Thanks Alvin