I just need not to run all the files that I have in the dir, but I don't know what command should I use.
This is the command I use, but it changes ALL the files that I have inside of the dir, not only which I want...
parallel --plus echo data path: {} and fullname ID: {/..} VS digit-only ID: "{= s/.*\\/ABC\^//; s/-.*// =}" ::: ${WORKING_DIR}/*
I tried with regex as a replacement, but it didn't work.
Example files:
- 10
- 20
- 30
- 40
- TXT---> I don't want to read this file with Parallel from the dir.
How can I omit this file from the others in Bash shell?
Thank you so much!
Read only the files I want in GNU Parallel.
It seems more a question for Bash than GNU Parallel. But you might be able to use
skip:This will make GNU Parallel skip the job, if the input matches txt or cfg.