Library and command line tools used to manage archived photos, documents and other files.
Install CLI:
go install github.com/xhd2015/archive-man/cmd/archive-man@latest
# find all ._ hidden files
archive-man inspect --prefix ._ --count D:\iCloud-Photos\
archive-man inspect --prefix ._ --limit 10 D:\iCloud-Photos\
# delete them
archive-man delete-files --prefix ._ D:\iCloud-Photos\
NOTE: the CLI is still in development, it's not quite stable.
When sync files, the modified time will be reserved.