4 ms·tar -xf example.tar -C temp-dir && mv temp-dir/* $(echo temp-dir/* | sed -r 's,.*/([^/]+)-[0-9.]+,./\1,')by jenscow 4y agotar -xf example.tar -C temp-dir && mv temp-dir/* $(echo temp-dir/* | sed -r 's,.*/([^/]+)-[0-9.]+,./\1,')amelius 4y agoYeah, exactly the kind of command-line that I would like to avoid ;)nerdponx 4y agoAmong other things, it's a shame that there's no dedicated standard-ish CLI tool for manipulating pathnames.