1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 08:18:52 -05:00

Support expressions such as {-vc}

This commit is contained in:
Reinhard Pointner 2017-06-04 22:14:52 +08:00
parent 0ac37d7449
commit 26e816f92d

View File

@ -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();
}