Great tweak for the terminal on Mac OS

On April 12, 2008, in General, by Neil Stevens

Two lines I added to my .bashrc today:

alias xargs0='xargs -0'

function find0 { find $@ -print0; }

-print0 on find and -0 on xargs aren’t usually important on your typical unix setup, but on a Mac you have spaces everywhere in file names, so these options are used too often to go without conveniences for them.

I can’t believe I didn’t create these aliases before today.


Comments are closed.

Nima Jooyandeh facts.