title: Omit directory name in find command
body: <p>I have a cgi script that calls up a server-side bash script to add a song (entered in a text box on the cgi page) to the rhythmbox queue. 
  I'm able to do this with</p>
  
  <pre><code>name=`echo "$*" | sed 's/+/*/g'`
  rhythmbox-client --enqueue *$name*
  </code></pre>
  
  <p>However the rhythmbox-client --enqueue is case-sensative, meaning if the song/band name has a capital letter, and the user doesn't type that letter with a capital in the cgi script, it won't work.
  I also have a seperate command to search my music directory for a given song/band name...</p>
  
  <pre><code>search=`find -iname *\$name\*`
  if [ "$search" = "" ];
    then echo "No song found."
    else echo "The following songs have been added to the queue: $search"
  fi
  </code></pre>
  
  <p>I was wondering if there was any way to remove the directory from the find results, and then I can simply pipe that into a var to use with the --enqueue command, as the find command can be told to ignore captialization senesativity.</p>