Skip to content

Instantly share code, notes, and snippets.

@BodhiHu
Created April 26, 2013 04:25
Show Gist options
  • Save BodhiHu/5465029 to your computer and use it in GitHub Desktop.
Save BodhiHu/5465029 to your computer and use it in GitHub Desktop.
A simple script to generate project files names tags for quick reference of plugin lookupfile.
#!/bin/sh
# generate tag file for lookupfile plugin
echo -e "!_TAG_FILE_SORTED\t2\t/2=foldcase/" > filenametags
find . -not -regex '.*\.\(png\|gif\)' -type f -printf "%f\t%p\t1\n" | \
sort -f >> filenametags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment