You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One thing I've noticed is that on relatively large directories with a large number of files, these scripts can occasionally take a good amount of time.
It would be nice if the scripts could leverage GNU Parallel to be able to process multiple files at once.
Taking a script like:
[OK] All files are UTF-8 encoded.
$ find . -type f -print0 | xargs -0 -P 2 -n1 grep -Il ''| tr '\n''\0'| xargs -0 -P 2 -n1 sh -c 'if [ -f "${1}" ]; then awk "/^\xEF\xBB\xBF/ {print FILENAME} {nextfile}" "$1" || true; fi' --
Hi, pretty neat set of scripts this project has.
One thing I've noticed is that on relatively large directories with a large number of files, these scripts can occasionally take a good amount of time.
It would be nice if the scripts could leverage GNU Parallel to be able to process multiple files at once.
Taking a script like:
To:
I don't fully know if this has been something that has been considered, but just a nice thought.
The text was updated successfully, but these errors were encountered: