Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11

    Yes, yes they are. Removed spaces. Script works.

    is there any way to escape them in a script like this?

  2. #12
    Linux Guru
    Join Date
    Dec 2013
    Victoria, B.C. Canada
    for f in /data/music/**/*.m4a; do mkdir $(dirname $(echo $f | sed 's/ /\\ /g' | sed s/alac/flac/)); avconv -i "$f" "$(echo ${f%.m4a}.flac | sed s/alac/flac/)"; done

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts