HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by samtheprogram | Hacker News Reader
Full thread
samtheprogram
·
Literally just use xargs with -I {} and quotation marks?
View on HN
laughing_man
·
That won't save you from weird file names, but null termination will.
samtheprogram
·
Passing "{}" 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.
Reply on news.ycombinator.com