How does find -execdir + work?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I understand that find -tests -execdir <command> '' ';'
runs command
for every matching file against the test(s) specified. The command, when using -execdir
, is executed in the same parent directory as the matching file (for every matching file), as stands for the basename of the matching file.
Now the question is: how is this done when working with multiple files all at once using +
instead of ';'
? If I use find -tests -execdir <command> '' +
, all of the files are supplied as arguments to the command specified (in a manner that doesn't exceed max args). How does find carry out <command>
on all of them at once?
find parallelism
add a comment |Â
up vote
0
down vote
favorite
I understand that find -tests -execdir <command> '' ';'
runs command
for every matching file against the test(s) specified. The command, when using -execdir
, is executed in the same parent directory as the matching file (for every matching file), as stands for the basename of the matching file.
Now the question is: how is this done when working with multiple files all at once using +
instead of ';'
? If I use find -tests -execdir <command> '' +
, all of the files are supplied as arguments to the command specified (in a manner that doesn't exceed max args). How does find carry out <command>
on all of them at once?
find parallelism
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I understand that find -tests -execdir <command> '' ';'
runs command
for every matching file against the test(s) specified. The command, when using -execdir
, is executed in the same parent directory as the matching file (for every matching file), as stands for the basename of the matching file.
Now the question is: how is this done when working with multiple files all at once using +
instead of ';'
? If I use find -tests -execdir <command> '' +
, all of the files are supplied as arguments to the command specified (in a manner that doesn't exceed max args). How does find carry out <command>
on all of them at once?
find parallelism
I understand that find -tests -execdir <command> '' ';'
runs command
for every matching file against the test(s) specified. The command, when using -execdir
, is executed in the same parent directory as the matching file (for every matching file), as stands for the basename of the matching file.
Now the question is: how is this done when working with multiple files all at once using +
instead of ';'
? If I use find -tests -execdir <command> '' +
, all of the files are supplied as arguments to the command specified (in a manner that doesn't exceed max args). How does find carry out <command>
on all of them at once?
find parallelism
find parallelism
asked 4 mins ago
joker
1866
1866
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f476126%2fhow-does-find-execdir-command-work%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password