Generates appledouble files on any filesystem using copyfile.
This can be useful when you are working with programs that don't support extended attrubutes or filesystems/network shares that stop finder from automatically creating appledouble files while still allowing appledouble files to be manually uploaded.
- The
copyfile
manual can be accessed throughman 3 copyfile
or here. - The appledouble format's wikipedia page
appledouble [-frRdavhA] file
-f
- Overwrite any existing appledouble files
-r
- Follow symlinks
-R
- Attempt to convert existing appledouble files
-d
- Enables debug and dry run mode
-a
- Copy POSIX and ACL information in addition to extended attributes
-v
- Print the version number and exit
-h
- Print the help page and exit
-A
- Print the about page