tar -zxvf archive.tar.gz --wildcards '*/target/*.jar' --strip-components=2 -C ./jar/ tar -zxvf fly_moon_agent_test_4162703.tgz --wildcards '*/target/*.jar' --strip-components=2 -C ./jar/