#
# loads all geocaches in the various sets by type
#
%search
set:gui:tomtomexports
  # only the right type
  &&cache:subtype==%[type,Virtual Cache]
  # only of a certain difficulty
  &&cache:difficulty==%[diff,1]

%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,virtual]-%[diff].ov2
