milo1012's plugins and utilities on TOTALCMD.NET
Author Profile: milo1012
All Plugins and Files by milo1012
A packer plug-in (wcx) for Total Commander for the ZPAQ format.
Based on zpaq 7.07.
Zpaq is a journaling (append-only) archiver for incremental backups.
Files are added only when they differ from the version(s) already stored.
Both the old and new versions are saved.
It also features:
* Multithreaded compression and decompression
* Unique deduplication feature, which will reduce archive size, even if you don't compress at all (compression method 0)
* (Remote) Multi-part support with optional local index file
* "Rollback" of archives to an earlier state
* Encryption (AES-256)
See http://mattmahoney.net/dc/zpaq.html for more details.
In short: you can't delete files, only add new ones, but it's very efficient for detecting duplicate file fragments, when you'd add several versions of a file to an archive.
Additionally it has very efficient compression methods (method 4/5), which in most cases creates even smaller files than 7-Zip in it's best mode, but can be quite slow.
The lower compression methods (up to method 2) compress fast, and decompress very fast.
In default mode, when you open a zpaq archive in TC, you can only see either the latest update's files, or all "collected" files from all updates you made, with each file showing it's newest version, just like you would expect from other archivers (zip, rar, ...).
To use the unique journaling feature, i.e. when you want to get your old file versions, enable the 'Show all archive versions' option (through 'Pack files' -> select 'zpaq' -> 'Configure'), so that you will be able to view all of the archive's updates.
For using more than just one compression/decompression thread, the x64 version is highly recommended.
1024+ MB RAM is recommended for stable use.
Compression method 4 is very slow, and method 5 is extremely slow, so take care before starting them with huge file collections.
600 KB - Updated: 15.04.2017 - x32/x64 - Downloaded 8967 times
A content plug-in (wdx) for Total Commander which scans filenames for at least
partially not being in the NFC Unicode normalization form, which is the preferred form on Windows.
You can return the normalized filename, so that you're able to use TC's MRT (Multi-Rename tool)
to transform all names to the NFC form. You can also do the reverse: return all names in NFD form,
or the OS X variant of NFD.
Why is this necessary?
Some systems (especially OS X due to HFS+) might use NFD or some other Normalization forms,
which can complicate file sync and name uniqueness.
This might also happen if you download some files from the Web, where the suggested
filenames result e.g. from the Title of HTML files (in case of consisting of such composable
Additionally you can scan and correct filenames which have UTF-8 sequences misinterpreted as ANSI bytes.
538 KB - Updated: 16.03.2017 - x32/x64 - Downloaded 3203 times
A RegEx content plug-in with Unicode support - based on Perl Compatible Regular Expressions (PCRE) library.
This plug-in may replace TC's RegEx engine for file content.
As of version 2.5 you can also use it for searching in filenames.
There is no need to provide Regular Expressions, just use a general search string for the file's content and escape the necessary syntax characters or quote the whole term (\Q...\E), and you can e.g. count the string occurrences and therefore filter and narrow your search with a custom number of strings that your files must contain in order to match the search in Total Commander.
Additionally you can create Random Strings and return the detected file encoding (check for Unicode files) and use the plug-in to compare files in TC's Synchronize dirs function.
There is support for a text filter, which will filter certain file formats, e.g. for .PDF and .DOC files, to expand the otherwise raw file search to most document/office files.
As of version 2.5 there is support for the Oracle Outside In Technology Content Access filters. When installed and working, those filters will provide an additional powerful Unicode capable fulltext search for TC 9.0 and above (on top of the text filter capability for the normal plug-in operation).
All configuration is done through an INI file, where you can create fields you may need for search repeatedly or just for general search (un- and re-load the plug-in).
There is a configuration utility provided ("PCREsearchConfig"), which greatly helps you configuring your fields, and additionally has the ability to test expressions by using a test string, plus it provides instant feedback in case of erroneous expressions.
- Using the full feature set for Perl/PCRE expressions when searching file content in TC, e.g. the Dotall/Singleline mode, Look-around assertions, Character properties incl. complete Unicode scripts and properties
- Up to 999 fields configurable in the plug-in's INI file
- Custom field names and types (boolean (yes/no), counting, string return, random strings, average length)
- Counting individual string occurrences
- Compare files in TC's Synchronize dirs function, also for files with different encoding
- Searching in most Unicode files, not just plain ANSI (automatic encoding detection)
- Unicode file names and Unicode Regular Expressions
- Result Caching in memory - for retrieving fields in an instant when they were already obtained in the past
- Configurable memory limits for avoiding slow file reads and nonresponsive TC
- Custom replacement schemes when returning strings (referencing subgroups)
- Create random strings by providing a RegEx
- Text filter support (xdoc2txt and Oracle OiT), which enables search in the otherwise unreachable text parts in most most office/pdf/text documents
- Unicode capable fulltext search for TC 9.0 and above when using the OiT filters
- Output line numbers and file offsets for search results
- Count the average string/result length in a file
- sort fields alphabetically before reporting them to TC
- Ships with a config utility which features: a RegEx test by typing a test string, on-the-fly RegEx error check,
built-in RegEx and replace string syntax summary, font selection
- Count line numbers of any file
- Count the occurrence of any string, character or byte in a file
- Count individual Strings/Matches, e.g. for skipping identical lines or words
- display the line number or the file offset on which your search term is found
- display the average string/result length of your search term
- Return the 1st, 2nd or nth line of a file to TC for display or search
- Filter and display file Headers for Magic Numbers / Signature, to check for files with erroneous extensions or embedded files
- Comparing files with different line endings and/or varying whitespace (including empty lines), or source files with different indent styles, etc.
- Check files for Unicode encoding
- Return random strings with a custom character range, for e.g. randomizing file names in MRT, or quick random filling fields from different plug-ins in TC
- Search in filenames only and return a custom built result string to quickly preview purified filenames in TC's custom columns
The text filter tool requires Visual C++ 2008 runtimes, but you can patch the file to be portable (instructions provided).
The optional OiT filter needs a separate download from http://www.oracle.com/technetwork/middleware/content-management/downloads/oit-dl-otn-097435.html
1218 KB - Updated: 4.07.2016 - x32/x64 - Downloaded 6940 times
Android application package (APK) content plug-in.
Scans .apk files for specific information. (App name, version, target and minimum OS, etc.)
Can be used in all program parts where content plug-ins are supported
(besides changing them in TCs 'Change Attributes...' and for 'Synchronize Dirs...'),
like Custom Columns, user-defined help texts ("Tooltips"), Thumbnail view, Multi-Rename Tool, etc.
As of version 2.0 you can also register the plug-in as a LISTER PLUG-IN (wlx),
so that you can see the App icons in TC's preview/thumbnail mode, and view
assembled App information in Lister/QuickView.
Uses a custom Android Asset Packaging Tool DLL file in order to work,
but you can change that to use the external official retail tool (aapt.exe) instead.
1335 KB - Updated: 20.06.2016 - x32/x64 - Downloaded 13032 times
A content plug-in (wdx) for Total Commander which can sum up the length
of every media file (Video + Audio) in a dir and shows that combined runtime,
with optionally leveled recursive search.
In short: it's quite useful for summing the duration of a folder-based MP3 collection (one dir = one album),
or the length of your personal video collection, etc.
It should work for basically every file format that MediaInfo supports, including newest mkv/mp4 containers.
It's not(!) meant to replace the existing MediaInfo plug-ins.
It currently has fields for the playtime (runtime, i.e. media file duration) and average bit rate only.
There shouldn't be any conflicts with different plug-ins, due to static linking of the Lib.
Recursion in custom columns above two levels will by default only work "on demand", by pressing
spacebar or using internal TC commands, but you can change that behavior through an ini option.
Every recursion depth comes in two variants: a standard TC time, which is limited
to 99 (100) hours and doesn't show milliseconds,
and a more detailed field, which isn't limited in length and may show the duration
in two configurable custom formats, including milliseconds (fractions of seconds, therefore no rounding)
and days (might be useful for a large video/audio collection with hundreds of hours).
The TC time might have some advantages when it comes to sorting in custom columns,
and for the search function.
The plug-in features a caching functionality, that helps retrieving fields
in an instant when you already obtained them in the past, which can be configured in size.
1675 KB - Updated: 25.08.2015 - x32/x64 - Downloaded 5304 times
This is a Packer plug-in that searches file content with Regular Expressions and extracts the search results to an output file.
So what's the deal?
While you might find it useful to know that a particular search string exists in a file and of course where exactly in the file it can be found,
it is in some situations even more useful to save all resulting strings to work with these.
For example, if you want to extract all URLs from a HTML file (<a href="URL"...),
you can do a Regular Expression search with a lot of editors and tools quite easy, but saving the results is often a pain,
especially if you have a lot of results and/or a lot of files to search.
This plug-in helps you to do this quite easy.
Just type the Regular Expression, optionally a detailed Replacement String which can reference subgroups from the Expression.
Additionally you have a full Search and Replace mode and you can use the plug-in for visualizing Regular Expressions results.
- Searching in most Unicode files, not just plain ANSI and binary
- Using any Regular Expression that are valid for the built-in PCRE library, which is in most points compatible with the Perl syntax and features
- Using up to 99 subgroups (for the replacement string): $1 - $99 and $0 (the whole expression), plus any desired text, single bytes, current result number, filename
- Unicode file names and Unicode Regular Expressions and replacement strings
- Long file names (path > 259 characters) usable
- Search and Replace strings - output file becomes input file with replaced strings/bytes - now also works for Unicode files!
- Suppress duplicate results - only first occurrence of individual strings issued
- Output file names and line numbers from which each search results originates (line mode)
- Save and load presets
- "Misuse" the program to merge/combine files (in input sequence) with additional replacement
- "Misuse" the program to remove or add BOM from an UTF-8 file, or to convert UTF-16 or ANSI files to UTF-8
- Visualizing Regular Expressions results by typing a test string
- On-the-fly RegEx error check
835 KB - Updated: 3.10.2014 - x32/x64 - Downloaded 15924 times