Two commands with xargs

Run multiple commands with xargs

ls -1 | xargs -I{} sh -c 'command1 {} && command2 {}'