protected void doExecute(VaultFsConsoleExecutionContext ctx, CommandLine cl) throws Exception {
String path = (String) cl.getValue(argPath);
boolean recursive = cl.hasOption(optRecursive);
ConsoleFile file = ctx.getFile(path, true);
if (file instanceof AggregateCFile) {
AggregateImpl node = (AggregateImpl) file.unwrap();
node.remove(recursive);
} else {
throw new ExecutionException("remove only allowed in afct mode.");
}
}