Find Cached Flash Videos on Ubuntu 10.10

Find the Flash videos, and sort them by size, in bytes:

1
ls -s $(find ~/.mozilla/firefox/*.default/Cache -type f -exec file {} \;  | grep Flash | cut -d ":" -f1) | sort -n

Another way is to open up Wireshark and filter for:

1
http and http.request.uri matches "flv"

This assumes that the request URI contains “flv”.