Ubuntu Feisty 7.04 manual page repository
Ubuntu is a free computer operating system based on the Linux kernel. Many IT companies, like DeployIS is using it to provide an up-to-date, stable operating system.
Provided by: netatalk_2.0.3-5_i386
acleandir - clean up a directory containing netatalk Apple Macintosh files
acleandir [-rnvi] dirname
acleandir cleans up the directory dirname. By default it simply removes "orphan" AppleDouble files, i.e. those which do not have a correspond‐ ing data file.
-d Also remove the .AppleDouble directory if it contains no Apple‐ Double files after "orphan" removal. This will result in the finder location of dirname within its parent being lost. -r, -R Recursive. Clean up directories recursively. -n Display the filenames of "orphans" but don’t remove any. Display size if "orphan" appears to contain a resource fork. -i Interactive. Prompt for confirmation before a removal. A y in answer confirms that the removal should proceed. -v Verbose. Display the names of all "orphans" and .AppleDouble directories removed. Reports the size if the "orphan" appears to contain a resource fork. -a Aggressive. Remove all AppleDouble files, not just "orphans". Also remove the .AppleDesktop directory if present. Impies -d option. Use with caution as the Macintosh type/creator and finder location of all files will be lost and the content of some documents, such as Symantec Projects, will be destroyed.
returns exit status 0 unless bad options are provided or a directory is not given on the command line. afpd(8)