al0cam_AutoMover/Models/MovingRule.ts

17 lines
452 B
TypeScript
Raw Normal View History

export class MovingRule {
2025-04-13 09:12:30 +00:00
/**
* This filed is used for defining the regex with its group matchers
*/
public regex: string;
/**
* This field is used for defining the folder to which the files will be moved
* It can use the previously defined groups to create folders with the same name
*/
public folder: string;
2025-04-13 09:12:30 +00:00
constructor(regex?: string, folder?: string) {
this.regex = regex || "";
this.folder = folder || "";
}
2025-04-10 18:15:30 +00:00
}