APPLE_DUMP(1)

πŸ“¦
version 3.1.18 Β· 2 versions
, in epel 9, ubuntu noble

✨ APPLE_DUMP(1) ✨

okay bestie, this is the Netatalk AFP Fileserver Manual 🌸 and the page we're looking at is all about apple_dump, a tool that's literally obsessed with AppleSingle/AppleDouble data πŸ’…


πŸŽ€ NAME πŸŽ€

apple_dump is your go-to for dumping AppleSingle/AppleDouble format data 🧚


πŸ¦‹ SYNOPSIS πŸ¦‹

Here are all the ways you can call it, no cap πŸ’–

apple_dump [-a] [FILE | DIR]
apple_dump -e FILE | DIR
apple_dump -f [FILE]
apple_dump -d [FILE]
apple_dump -h | -help | --help
apple_dump -v | -version | --version

πŸ’œ DESCRIPTION πŸ’œ

So apple_dump dumps AppleSingle/AppleDouble format data, and it's giving main character energy πŸ‘‘

It handles all kinds of AppleSingle/AppleDouble data made by mailers, archivers, Mac OS X, Netatalk and so on 🌈

If you don't give it a FILE|DIR, or you pass - as the FILE|DIR, it reads from standard input 🫢


✨ OPTIONS ✨

  • -a [FILE|DIR] β€” This one's the default and it's the iconic choice πŸ’… It dumps AppleSingle/AppleDouble data for the FILE or DIR automatically. If the FILE isn't AppleSingle/AppleDouble, it goes hunting for extended attributes, .AppleDouble/FILE and ._FILE. If you give it a DIR, it checks for extended attributes, DIR/.AppleDouble/.Parent and ._DIR instead πŸ”₯
  • -e FILE|DIR β€” Dumps the extended attributes of the FILE or DIR πŸ¦‹
  • -f [FILE] β€” Dumps the FILE and assumes FinderInfo is FileInfo 🌸
  • -d [FILE] β€” Dumps the FILE and assumes FinderInfo is DirInfo πŸ“
  • -h, -help, --help β€” Shows the help and then exits πŸ™ˆ
  • -v, -version, --version β€” Shows the version and then exits ⭐

πŸ’€ NOTE πŸ’€

ngl this one is important. There is no way to detect whether FinderInfo is FileInfo or DirInfo. By default, apple_dump checks whether the file, directory or parent directory is .AppleDouble, whether the filename is ._*, whether the filename is .Parent, and so on. 😭

When you set -e, -f or -d, it assumes FinderInfo and doesn't go looking for any other data. Lowkey a power move 🧚


🌈 SEE ALSO 🌈

Check these out if you want more of the tea β˜• ad(1), getfattr(1), attr(1), runat(1), getextattr(8), lsextattr(8) 🫢


πŸŽ€ AUTHOR πŸŽ€

The whole crew is credited in CONTRIBUTORS[1] πŸ’–


πŸ”₯ NOTES πŸ”₯

  1. CONTRIBUTORS β€” https://github.com/Netatalk/netatalk/blob/main/CONTRIBUTORS ✨

and that's the tea, bestie! πŸ’œ This page was for Netatalk 3.1.18, dated 12 Nov 2015, and it's still giving πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from