title: Boolean Expressions in Shell Scripts
body: <p>What's the "right" way to do the following as a boolean expression?</p>
  
  <pre><code>for i in `ls $1/resources`; do
      if [ $i != "database.db" ]
      then
          if [ $i != "tiles" ]
          then
              if [ $i != "map.pdf" ]
              then
                  if [ $i != "map.png" ]
                  then
                      svn export -q $1/resources/$i ../MyProject/Resources/$i
  ...
  </code></pre>