Skip to content

Instantly share code, notes, and snippets.

View jamiebullock's full-sized avatar

Jamie Bullock jamiebullock

View GitHub Profile
@jamiebullock
jamiebullock / list_cross_referenced_files.sh
Created July 4, 2013 16:01
List files from one directory that are referenced by files in another directory (recursive)
for file in *;do grep -r -o $file __directory__;done | tr -s ':' | cut -d ':' -f2 | uniq