Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12
Yes, yes they are. Removed spaces. Script works. is there any way to escape them in a script like this?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Jan 2014
    Posts
    7

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

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

  2. #12
    Linux Engineer
    Join Date
    Dec 2013
    Posts
    1,039
    Code:
    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

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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