How to Use the Commands to Manage Directories in FileZilla CLI

List the contents of the current remote directory

To list the files of the current remote directory use the ls (or dir) command:

    ls [regex]

regex: optional regular expression to show specific files. See Regular Expressions for the regular expression syntax.

For example:

List the contents of the current local directory

To list the files of the current local directory use the lls (or ldir) command:

    lls [regex]

regex:optional regular expression to show specific files. See Regular Expressions for the regular expression syntax.

Show the current remote directory

To show the current remote directory use the pwd command:

    pwd

Show the current local directory

To show the current local directory use the lpwd command:

    lpwd

Change the current remote directory

To change the current remote directory use the cd (or cwd) command:

    cd <remote path>>

remote path can be an absolute path or a path relative to the current remote directory.

Change the current local directory

To change the current local directory use the lcd (or lcwd) command:

    lcd <local path>

local path can be an absolute path or a path relative to the current local directory.

Create a remote directory

To create a remote directory use the mkd (or mkdir) command:

    mkd <remote path>

remote path can be an absolute path or a path relative to the current remote directory.

Create a local directory

To create a local directory use the lmkd (or lmkdir) command:

    lmkd <local path>

local path can be an absolute path or a path relative to the current local directory.

Remove a remote directory

To remove a remote directory use the rmd (or rmdir) command:

    rmd <remote path>

remote path can be an absolute path or a path relative to the current remote directory.

Remove a local directory

To remove a local directory use the lrmd (or lrmdir) command:

    lrmd <local path>

local path can be an absolute path or a path relative to the current local directory.

The video tutorial below shows how to use the commands to manage directories.

Video tutorial: How to Use the Commands to Manage Directories in FileZilla CLI

Tags: ,