OneDrive for Mac is having huge issues so I'm trying to move the files out of its folder and start over again... but I'm being blocked by extended attributes named: com.apple.fileutil.PlaceholderData
.
You can see them with: ls -alh@e
or xattr <dir name>
Example: https://www.reddit.com/r/onedrive/comments/dk8hcx/onedrive_on_macos_is_adding_extendedfile/
Remove them:
sudo xattr -rd com.apple.fileutil.PlaceholderData <dir name>
Sources: