diff --git a/source/net/filebot/cli/ScriptShellMethods.java b/source/net/filebot/cli/ScriptShellMethods.java index 3c82326b..0bd1203f 100644 --- a/source/net/filebot/cli/ScriptShellMethods.java +++ b/source/net/filebot/cli/ScriptShellMethods.java @@ -60,6 +60,10 @@ public class ScriptShellMethods { return new File(self, path.getPath()); } + public static String negative(String self) { + return '-' + self; + } + public static String getAt(File self, int index) { return FileUtilities.listPath(self).get(index).getName(); }