mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 00:08:51 -05:00
Support expressions such as {-vc}
This commit is contained in:
parent
0ac37d7449
commit
26e816f92d
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user