Skip to content

Commit

Permalink
feat(Config): Enhancing the default generated config (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
FRFlo authored Jul 2, 2024
1 parent f84f8bc commit efa41d6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Copy/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ public static string GetDefault()
Destination = new CopyIO("SFTP", "destination"),
Filter = new CopyFilter()
{
Name = ".*\\.txt"
Name = ".*\\.txt",
Author = "root"
}
},
new CopyTask()
Expand All @@ -121,7 +122,9 @@ public static string GetDefault()
Delete = true,
Filter = new CopyFilter()
{
Name = ".*\\.txt"
CreatedAfter = DateTime.Now.AddDays(-1),
MinSize = 512,
MaxSize = 4096
}
},
new CopyTask()
Expand Down

0 comments on commit efa41d6

Please sign in to comment.