4 ms·
If I've not wildly misunderstood what you're doing with that line (and apologies if I have), could you not just stick `-printf '%f\n'` on the end of the `find`
by zimpenfish 6y ago
If I've not wildly misunderstood what you're doing with that line (and apologies if I have), could you not just stick `-printf '%f\n'` on the end of the `find` command?
(By definition, since you're looking for `.ogg` files, everything `find` finds will have a path that ends in a three letter extension.)
- esaym 6y agoAh, that is a good one! I've never even messed with the -prinf options.
- zimpenfish 6y agoIt's one of those things that's immensely helpful but difficult to discover organically, I think, since a lot of people will go "find outputs this, now I pipeline to transform that, this is The Unix Way" and never realise that `find` can do a bunch of transforms for you for free.