acleandir(1)

acleandir1

Clean up a directory containing netatalk apple macintosh files

Usage

acleandir [-rnvi] dirname

Overview

acleandir cleans up the directory dirname. By default it simply removes "orphan" AppleDouble files, i.e. those which do not have a corresponding data file.

Options

-d

Also remove the .AppleDouble directory if it contains no AppleDouble 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.

Diagnostics

returns exit status 0 unless bad options are provided or a directory is not given on the command line.

Releases

3 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1
  2. 4.0–5.0

From netatalk 2.0.3-11+lenny1 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.