escaping - Is it properly quoted when I using '*' or '**/*' in bash? -


find -name '*.jpg' -print0 | xargs -0 qiv

qiv **/*.jpg

both safely escaped , delivered qiv?

yes. in first case, find expanding wildcard internally, , delivering results xargs expects them. in second, shell expanding them , passing each match separate argument. both correct (assuming shell support **, , command line length maximum isn't exceeded).


Comments

Popular posts from this blog

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

how can i manage url using .htaccess in php? -

ios - I get the error Property '...' not found on object of type '...' -