find . -type '*.pkl' | parallel python do_something_with_pkl.py "{}" --write-to-csv "{.}.csv"
# Expands to
# > python do_something_with_pkl.py my_pickle.pkl --write-to-csv my_pickle.csv
Created
February 12, 2021 11:44
-
-
Save willprice/b8c92d073154ce87659797447d2ade1e to your computer and use it in GitHub Desktop.
GNU parallel cheat sheet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment