I\'m in the process of splitting up an old suite of applications which originally resided in a single Subversion repository.
I\'ve converted it over to a Git repository
Helping to the second answer: "Maybe others can chime in on how to find out the previous name of a tracked file in case of renames."
This will return the files in your project and the files from which they are renamed.
for file in `git ls-files`; do git log --follow --name-only --pretty=format: $file | sort -n -b | uniq | sed '/^\s*$/d'; done
You can use them to exclude from the list.
The whole solution is:
for file in `git ls-files`; do git log --follow --name-only --pretty=format: $file | sort -n -b | uniq | sed '/^\s*$/d'; done > current.txt
git log --raw |awk '/^:/ { if (! printed[$6]) { print $6; printed[$6] = 1 }}'|while read f;do if [ ! -f $f ]; then echo $f;fi;done | sort > hist.txt
diff --new-line-format="" --unchanged-line-format="" hist.txt current.txt > for_remove.txt