4 ms·
> .. which falls over as soon as you have a file with a space in the name. Yeah, spaces are nasty. find has -print0 and xargs has -0 to handle this gracefully,
by eequah9L 7y ago
> .. which falls over as soon as you have a file with a space in the name.
Yeah, spaces are nasty. find has -print0 and xargs has -0 to handle this gracefully, but one needs to know to use it.
- Annatar 7y ago-print0 is a GNUism and isn't portable. As stated previously, replacing '{}' with "{}" will handle spaces and most metacharacters just fine.