Maximum number of files that can be merged in SoX?

Created: 2021-11-12T20:33:18-06:00

Return to the Index

This card pertains to a resource available on the internet.

Too many files open

Sox opens a file descriptor for every sound file being combined in a batch job all at once. It does not intelligently open and close them as needed.

This can result in the shell running out of allowed file descriptors.

To combine many files you may have to increase the descriptor limit via `ulimit -n 2048` or some higher number.