News for hackers. Stuff that matters.
Re:Parallel processing with Unix tools by flatfilefan on Sunday September 24, 2017 @10:45AM (#15324894)
I use this template to deal with reasonable filenames:

    find ... -print0|parallel --gnu -X -0 -n 1 your_command "{}" \;
And sometimes the names are so screwed that they have to be renamed first, then this can give you a reasonable new name

    $(echo $(basename "{}")|tr '[[:blank:]]' '_'| tr -cd '\/.[[:alnum:]]_-' )

There are no comments on this comment yet.