Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

remove

Remove one or more files from an existing MPQ archive.

The archive is always the first positional argument, followed by one or more archive paths to remove. All removals happen in a single open/close cycle.

Remove a single file

$ mpqcli remove wow-patch.mpq fth.txt
[-] Removing file: fth.txt

Remove multiple files at once

Pass more than one archive path after the archive argument:

$ mpqcli remove wow-patch.mpq fth.txt fta.txt fts.txt
[-] Removing file: fth.txt
[-] Removing file: fta.txt
[-] Removing file: fts.txt

Remove files from stdin

Pass - to read archive paths from standard input:

$ echo -e "fth.txt\nfta.txt" | mpqcli remove wow-patch.mpq -
[-] Removing file: fth.txt
[-] Removing file: fta.txt

Remove a file with a given locale

Use --locale to remove only the copy stored under a specific locale. Without --locale, the file stored under the default locale is removed.

$ mpqcli remove wow-patch.mpq alianza.txt --locale esES
[-] Removing file for locale esES: alianza.txt