You can list extended attributes and ACLs with ls You can remove extended attributes and ACLs recursively with xattr -cr. _ are AppleDouble files (not resource forks), and they are used to store extended attributes and ACLs.Įxtended attributes are used to store the quarantine status of files, the source URLs of files downloaded from the Internet, information about aliases (aliases stop working if extended attributes are removed), Spotlight comments, the encoding of files saved with TextEdit, and so on.
-c is compress, -k uses PKZip (zip) instead of CPIO.-norsrc implies -noextattr and -noacl -noextattr would require -norsrc.To unzip the folder: double-click it (macOS), or right-click > Extract All (Windows). Create Password Protected Zip file from a Folder Terminal command to Create password protected zip file zip -e TW.zip TW where: zip -e command name TW. This is the equivalent of the Command Prompt on Windows and allows Mac OS X users. This will create a zipped copy of the folder. An unusual but effective way to approach creating. On Mac, right-click the folder, then select File > Compress. DS_Store -delete ditto -ck -norsrc directory directory.zip For Windows, archive a folder by right-clicking the folder, then selecting Send to > Compressed (zipped) folder. zip removes extended attributes and ACLs by default.