Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
fluidcruft
on Aug 18, 2015
|
parent
|
context
|
favorite
| on:
Bash Pitfalls
"xargs" is basically what you're thinking of as "map", and "find" is more powerful than simple globbing.
find . -type f -name \*.mp3 -print0 | xargs -n 1 -0 some_command
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: