
find:ai:0fa36
copy all files ending with .mkv to parent path
$ find /path/to/current/directory -type f -name '*.mkv' -exec cp {} .. \;
try on your machine
This command uses the 'find' command to locate all files with the .mkv extension in the current directory and executes a 'cp' command to copy them to the parent path.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.
Questions that are answered by this command:
- copy all files ending with .mkv to parent path?