Skip to content
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

Preserve directory timestamp during copy #26

Open
sean-gugler opened this issue Jul 25, 2024 · 2 comments
Open

Preserve directory timestamp during copy #26

sean-gugler opened this issue Jul 25, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@sean-gugler
Copy link

(CiderPress II 1.0.2)

Timestamps are already preserved on files. This is true when using copy+paste on individual files or on a directory; the files nested within retain their original stamps.

Copying a directory should also preserve the timestamps of the directory itself. Currently the copies get a fresh timestamp from the host's wall clock.

This is important from an archival / historian perspective. When gathering collections onto a 32MB hard disk image from multiple sources, it's better if they retain all their original attributes.

@fadden fadden added the enhancement New feature or request label Jul 25, 2024
fadden added a commit that referenced this issue Aug 24, 2024
The copy+paste / drag+drop code wasn't setting the file dates on
directories.  We now set those, and access flags too.

The CLI "copy" command does set the file attributes.

(issue #26)
@fadden fadden closed this as completed Aug 24, 2024
@sean-gugler
Copy link
Author

Confirmed, this works in 1.0.4. Thank you!

Next request is to also preserve directory timestamps during export. Would you rather track that request here or as a separate issue#? (low priority, "stretch goal")

@fadden
Copy link
Owner

fadden commented Oct 13, 2024

I can reopen this one. Preserving during export is a little harder because it requires a "finalization" pass after everything else is done.

@fadden fadden reopened this Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants