combine find statements
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
How can i combine both of the below commands? I want to get a single file with the owner and the size of the files
find /test -type f -size +$(df -k /test| awk 'NR == 3 printf "%d",
$1/4 ') -exec du -sh +
find /test -type f -size +$(df -k /test | awk 'NR == 3 printf "%d",
$1/4 ') -exec stat -c '%U' +
bash shell-script shell find
add a comment |Â
up vote
0
down vote
favorite
How can i combine both of the below commands? I want to get a single file with the owner and the size of the files
find /test -type f -size +$(df -k /test| awk 'NR == 3 printf "%d",
$1/4 ') -exec du -sh +
find /test -type f -size +$(df -k /test | awk 'NR == 3 printf "%d",
$1/4 ') -exec stat -c '%U' +
bash shell-script shell find
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
How can i combine both of the below commands? I want to get a single file with the owner and the size of the files
find /test -type f -size +$(df -k /test| awk 'NR == 3 printf "%d",
$1/4 ') -exec du -sh +
find /test -type f -size +$(df -k /test | awk 'NR == 3 printf "%d",
$1/4 ') -exec stat -c '%U' +
bash shell-script shell find
How can i combine both of the below commands? I want to get a single file with the owner and the size of the files
find /test -type f -size +$(df -k /test| awk 'NR == 3 printf "%d",
$1/4 ') -exec du -sh +
find /test -type f -size +$(df -k /test | awk 'NR == 3 printf "%d",
$1/4 ') -exec stat -c '%U' +
bash shell-script shell find
bash shell-script shell find
edited 6 mins ago
Jeff Schaller
34.6k952115
34.6k952115
asked 9 mins ago
Vas
204
204
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Â
draft saved
draft discarded
Â
draft saved
draft discarded
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%2f478549%2fcombine-find-statements%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