Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

parallel is even great for non-parallel things because of its simple CLI handling and transformation of filenames (`{}`, `{.}`, `{/}`, etc.)

e.g. `ls old/*.jpeg | parallel mv {} new/{/.}.jpg` is easier than a bash loop.[1]

[1] Yes, it should be `find -print0` or something, blah blah, it's an example.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: