Title please help

  • AA5B@lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    1 year ago

    It’s hard for anyone to help if you don’t give details, but I can only guess ……

    The man page describes -r starting

    If a file argument is a directory …

    So, did you specify a directory?

      • Snickeboa@lemmy.world
        link
        fedilink
        arrow-up
        1
        arrow-down
        4
        ·
        1 year ago

        Then remove the ”r” in ”-cr”? The .app is like a special zip file or something if I remember correctly. Not a directory

          • chiisana@lemmy.chiisana.net
            link
            fedilink
            arrow-up
            1
            arrow-down
            1
            ·
            1 year ago

            Similar to what the other user mentioned, but slightly different … macOS always had special treatment for .app directories, sometimes giving it special treatments as if it is a file instead of a directory. Does running without the -r bit achieve what you’d want, or you are certain there are files deeper within the directory structure that contains files with extended attributes that you’d want to remove? If there’s specific files inside the structure, are you able to target them individually?

  • SpeakerToLampposts@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Are you using the standard xattr command that’s built into macOS? IIRC there’s another program out there by the same name with completely different syntax. Try running type xattr; it should say something like “xattr is /usr/bin/xattr” if you’re using the standard one.