Skip to content

Instantly share code, notes, and snippets.

@kharysharpe
Created May 12, 2014 02:15
Show Gist options
  • Save kharysharpe/5b42ff87e58185648665 to your computer and use it in GitHub Desktop.
Save kharysharpe/5b42ff87e58185648665 to your computer and use it in GitHub Desktop.
Create a cache manifest from the commandline (for HTML5 offline)
echo "CACHE MANIFEST" > cache.manifest; find . -type f | sed "s#^\./##" | grep -vi "ds_store" >> cache.manifest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment