def Run(self, args):
    try:
      directory = aff4.FACTORY.Open(args.path, "AFF4Volume",
                                    token=data_store.default_token)
    except aff4.InstantiationError:
      directory = None

    if directory and not isinstance(directory, aff4.VFSDirectory):
      # If directory is not a VFSDirectory, check that it's in its' parent
      # children list. This way we check that the path actually exists.
      directory_parent = aff4.FACTORY.Open(directory.urn.Dirname(),
                                           token=data_store.default_token)
      if directory.urn not in directory_parent.ListChildren():
        raise RuntimeError("Specified path %s doesn't exist!" % directory.urn)

    if directory:
      export_utils.RecursiveDownload(directory, args.output,
                                     overwrite=args.overwrite,
                                     max_depth=args.depth,
                                     max_threads=args.threads)
    else:
      export_utils.CopyAFF4ToLocal(args.path, args.output,
                                   overwrite=args.overwrite,
                                   token=data_store.default_token)
Gets the cflags to include the prefix header for language |lang|.
dataset/ETHPy150Open google/grr/grr/tools/export_plugins/file_plugin.py/FileExportPlugin.Run--crossover with--dataset/ETHPy150Open adblockplus/gyp/pylib/gyp/xcode_emulation.py/MacPrefixHeader.GetInclude