Scanning Directory Tree

The following are two different ways to rescan directory, the entire tree or only part of the tree.

kcd -r

Rescan directory tree using the default mode as specified in configuration file.

kcd -rp [DIR]

Rescan part of directory tree beginning at DIR.

You may modify default scanning behavior using additional options -rf, -rq, and -rQ. Note that if -r or -rp is not given in the command line, the option -r is implied there.

kcd -rf

Rescan directory using full scan mode. kcd will ignore all previously saved directory tree information and start scanning from scratch. By default, the smart scan mode is used whenever possible to reduce time needed for directory scanning.

The full scan mode is provided in case you change configuration files - some change may not take effect until you recan in full mode.

Another possible problem is that some old file system may not have the change time (which is updated when directory permission is changed) so that kcd cannot correctly update the directory tree. (msdos file system is an example, but fortunately we cannot change their directory permission anyway.)

kcd -rq

Rescan part of directory tree beginning at DIR.

kcd -rQ

Rescan directory tree using the verbose mode (opposite of -rq), overriding default mode. Current checked directory is displayed.

Rescan options can be combined, i.e., kcd -rf -rq is the same as kcd -rfq.