-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vach preserve file/dir metadata? tar drop-in replacement CLI #76
Comments
That is a good point, at the moment |
After some research, best we can do is add timestamps to |
Accepting the tar CLI convention sounds interesting too, and should be doable! |
The |
The CLI will use methods defined on |
You might need into_raw_fd for that, not sure though |
On what I am working on at the moment, the CLI will not restore timestamps. Why? Since data can be corrupted inside the archive and the CLI won't know. Sure you can prevent this by embedding signatures but not all archives have signatures and I don't know how users feel about complicated discrepancies like such |
|
Does anyone have any idea how to restore file metadata using Rust? Also since MacOS is Unix-like can we have permissions restored over there too? |
Oh wait, std::fs::set_permissions exists |
Wouldn't macOS just fall into std::os::unix? |
The current defacto capability standards out there for preserving file metadata(user/group ownership, datetime of creation, modification and such) and directory metadata are tar and rsync.
I would recommend vach:
before vach can be considered as a valid replacement. Does vach preserve the metadata?
i.e.
The text was updated successfully, but these errors were encountered: