Y
Hacker News
new
|
ask
|
show
|
jobs
by
samtheprogram
11 days ago
Literally just use xargs with -I {} and quotation marks?
1 comments
laughing_man
11 days ago
That won't save you from weird file names, but null termination will.
link
samtheprogram
11 days ago
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.
link