Carl T. Miller

Authored Comments

Great article! I use the type of looping you describe.

I notice that you didn't cover the case where you have hundreds or even
thousands of files to process, and you want them run sequentially instead
of in parallel. The following command can be rewritten easily.

find . -name "*png" -exec convert {} -scale 33% tmp/{} \;

This is the new version.

find . -name "*png" |\
while IFS= read -r file; do
convert "$file" -scale 33% tmp/
done

Just wondering...what can tmux do that screen can't? I've used screen for
years and really like the custom status lines I have created. What would
convince me to switch to tmux?