mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 16:28:51 -05:00
Automatically set -no-xattr in --action test mode
This commit is contained in:
parent
c6634ab2b5
commit
dedc9c9699
@ -373,11 +373,11 @@ public class Main {
|
||||
if (args.unixfs) {
|
||||
System.setProperty("unixfs", "true");
|
||||
}
|
||||
if (args.disableExtendedAttributes) {
|
||||
if (args.disableExtendedAttributes || "TEST".equalsIgnoreCase(args.action)) {
|
||||
System.setProperty("useExtendedFileAttributes", "false");
|
||||
System.setProperty("useCreationDate", "false");
|
||||
}
|
||||
if (args.action.equalsIgnoreCase("test")) {
|
||||
if ("TEST".equalsIgnoreCase(args.action)) {
|
||||
System.setProperty("application.rename.history", "false"); // do not keep history of --action test rename operations
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user