#!/bin/bash if [ $# -ne 1 ]; then echo "usage: list_vs_missing_files.sh project_file.csproj" exit fi echo "" echo "# Note that this script does not understand URL encoded characters," echo "# so you will get false positives for things like '%29'. This is normal." echo "" grep '<Content Include="' "$1" | sed 's/^.*"\([^"]*\)".*/\1/' | sed 's/\\/\//g' | sort | xargs -d'\n' ls > /dev/null