To move multiple files, use the mmove command for remote files and lmmove for local files.
mmove [options] pattern destination
lmmove [options] pattern destination
pattern: expression to select which entries to move. See Regular Expressions for the regular expression syntax and Wildcards for the wildcard syntax.
destination: can refer to a directory using absolute or relative path.
Options
--exclude: exclusion condition. Files matching the condition are ignored. Multiple con-
ditions can be specified. See Filter Files and Directories.
--case: exclusion conditions are case-sensitive.
--match, m: exclusion condition match type. See Filter Files and Directories.
Examples
- Moving al JPEG files to the
imagesdirectory:
mmove \.jpg$ images
or using the wildcard syntax:
mmove *.jpg images