code: public static void main(String[] args) {
  		if(args.length==0) {
  			System.err.println("Usage: "+ParallelDelete.class.getName()+" [-n] [-v] [--] path {path}");
  			System.err.println("\t-n\tPerform dry run, do not modify the filesystem");
  			System.err.println("\t-v\tWrite the full path to standard error as each file is removed");
  			System.err.println("\t--\tEnd options, all additional arguments will be interpreted as paths");
  
  			System.exit(1);
  		} else {
  			List<File> directories = new ArrayList<>(args.length);
  			PrintStream verboseOutput = null;
  			boolean dryRun = false;
  			boolean optionsEnded = false;
  			for(String arg : args) {
  				if(!optionsEnded && arg.equals("-v")) verboseOutput = System.err;
  				else if(!optionsEnded && arg.equals("-n")) dryRun = true;
  				else if(!optionsEnded && arg.equals("--")) optionsEnded = true;
  				else directories.add(new File(arg));
  			}
  			try {
  				parallelDelete(directories, verboseOutput, dryRun);
  			} catch(IOException err) {
  				err.printStackTrace(System.err);
  				System.err.flush();
  				System.exit(2);
  			}
  		}
  	}
docs: Deletes multiple directories in parallel (but not concurrently).