FileZilla Pro CLI Wildcards

As an alternative to Regular Expressions, you can enable the easier-to-use wildcards:

  • ?: match any character except a dot.
  • *: match zero or more characters.

The wildcard syntax is enabled with the cli.wildcard option. By default, it is disabled. When enabled, all commands that take a regular expression will accept a wildcard expression instead.

Note: You can either use regular expressions or widlcards, but not both simultaneously.

The following commands can use the wildcard syntax:

  • ls, lls
  • mput, mget
  • rput, rget (when using the ––filter option)
  • mrn, lmrn
  • mdel, lmdel

Examples

List all files ending with .docx:

set cli.wildcard 1

ls *.docx

Delete all files starting with DSC:

set cli.wildcard 1

mdel DSC*

Transfer, for example, the files fill.txt and fell.txt

set cli.wildcard 1

mput f?ll.txt

The video tutorial below shows how to use wildcards with FileZilla Pro CLI.

Video tutorial: How to Enable Wildcard Syntax with FileZilla Pro CLI

Tags: ,