I've been using VLC with command line batch files for years to rip audio cds.
I just tried writing a similar bash script in Ubuntu 14.04 and was surprised--I can't figure out how to get a list of file names on the CD to pass to VLC Media Player to convert. I need something like:
for f in $FILES
echo "Processing $f file..."
# take action on each file. $f store current file name
Is there a 'trick' to getting a list of files on an audio cd in Ubuntu for use in a bash script or is this just not possible? I've already read a number of articles on how the gvfs system is different from a 'real' file system, but I'm just amazed that there is something Windows can do so trivially which can't be done in bash.