Contents
How do I copy multiple wildcards in Linux?
Multiple files or directories can be copied to a destination directory at once. In this case, target must be a directory. To copy multiple files you can use wildcards (cp *. extension) having same pattern.
How do you use wildcards in Linux?
There are three main wildcards in Linux:
- An asterisk (*) – matches one or more occurrences of any character, including no character.
- Question mark (?) – represents or matches a single occurrence of any character.
- Bracketed characters ([ ]) – matches any occurrence of character enclosed in the square brackets.