Show TOC

LDIRLocate this document in the navigation structure

Use

Lists only those files and folders that exist on the local directory. This includes files and folders that are synchronized plus files and folders that exist locally only. The ldir command, similar to the dir command, accepts one argument that is used to limit the listed files and folders to only those whose names match the pattern given by the argument. In the name pattern, the asterisk ( * ) character can be used as a wildcard.

Syntax

Syntax

LDIR [filter]

Arguments

[filter]

The filter of the contents.

Description

Command to get a directory listing when in shell. The command lists only the files and folders which exist on the local directory. This includes files and folders that are synchronized and files and folders which exist locally but are not on the server.

Example

To show files and folders that exist on the current local directory, execute:

ldir

For information about wildcards, see the DIR command.