#
# loads all geocaches in the various sets by type
#
%search
set:gui:tomtomexports
  # only traditionals
  &&cache:subtype==Traditional Cache
  # only one difficulty level
  &&cache:difficulty==%[diff]
  # restrict to a specified size
  &&cache:groundspeak_container=%[size,Micro]

%include devices/tomtom-modifiers

%export
# finally, write out the contents to a .ov2 file with a suffix
# Note: I could use the same 'size' option name as above, but I use
# two different names for flexibility.
system:cmd=gpsbabel -i geo -f %{file:loc} -o tomtom -F geocaches-%[suffix,micro]-%[diff].ov2
