Add options to set file created/modified timestamps (#638)
This commit is contained in:
parent
a5d98364fa
commit
ac87d70613
14 changed files with 227 additions and 122 deletions
|
|
@ -81,6 +81,9 @@ namespace FileLiberator
|
|||
extension: "mp3",
|
||||
Configuration.Instance.OverwriteExisting);
|
||||
|
||||
SetFileTime(libraryBook, realMp3Path);
|
||||
SetDirectoryTime(libraryBook, Path.GetDirectoryName(realMp3Path));
|
||||
|
||||
OnFileCreated(libraryBook, realMp3Path);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue