6 ms·
Literally just use xargs with -I {} and quotation marks?
by samtheprogram 2mo ago
Literally just use xargs with -I {} and quotation marks?
- laughing_man 2mo agoThat won't save you from weird file names, but null termination will.
- samtheprogram 2mo agoPassing "{}" handles most sane cases including spaces. If I'm doing bash that needs to be robust (rare and/or dotfiles) or know the folder/dataset has weird filenames, sure.