Is there a way to list a set of say, 30 random files from a directory using standard Linux commands? (in zsh
)
The top answer described here does not work for me (sort
does not recognize the option -R
)
filesshellzsh
Is there a way to list a set of say, 30 random files from a directory using standard Linux commands? (in zsh
)
The top answer described here does not work for me (sort
does not recognize the option -R
)
Best Answer
Since you're mentioning zsh:
You can replace
print
with sayogg123
and*
with say**/*.ogg