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

Also backs up visibility flags "File extension" and "file" #80

Open
porg opened this issue Nov 13, 2022 · 1 comment
Open

Also backs up visibility flags "File extension" and "file" #80

porg opened this issue Nov 13, 2022 · 1 comment

Comments

@porg
Copy link

porg commented Nov 13, 2022

SetFile -a allows to set various file flags for HFS+ and APFS

  • E | e Extension is hidden (allowed on folders)
    • It's also commonplace to toggle this in the Finder
      • Either by ticking the checkbox "Hide Extension" in the info dialog
      • Or implicitly by renaming a file and removing the ".extension" portion from the filename.
    • Many users make use of this to customize on a file or folder basis how the Finder shows file extensions.
      • I'd love to backup/restore/copyfrom this with osxmetadata
  • V | v Invisible (allowed on folders)
    • Still supported in contemporary macOS
    • More common meanwhile to follow the UNIX convention by adding a dot "." at the beginning of the filename
    • If you don't want to support it, I'm ok with it. But some may would like it included.

Proposing that these attributes get supported by:

@RhetTbull
Copy link
Owner

I don't know how to access these programmatically but if I can figure it out, will look at adding them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants