Tag: file manager

Full-text search in MS Word files and archives in Linux

Unlike Windows, where “Full-text search for documents in a folder” is possible, Linux “out of the box” does not support full-text search in office formats. This search and indexing of office documents can be implemented using recoll package, but it requires configuration. In addition, recoll relies on pre-indexing documents, which causes problems when working with removable media: the removable media had to be re-indexed every time it was plugged.

Now, starting with Double Commander version 1.0.0 beta, which added the ability to search for texts in office XML documents, this problem has been resolved.

See also: Free analogue of Total Commander

Double Commander supports many archives out of the box, but if you want to get support for any archives that exist, check out the article “How to add the plugin to Double Commander to support all types of archives” (it's not difficult).

So, to perform a full-text search on office files, in Double Commander go to the folder with documents and click the “Search” icon, you can also use the Alt+F7 keyboard shortcut to open the search window.

In the window that opens, check the box “Find text in file” and enter the text you want to find. Be sure to check the “Office XML” checkbox. To limit your search to specific files, you can enter parts of the name in the “File mask” field. When everything is ready, press the “Start” button.

After completing the search, you will see a tab with results, which will list all files containing the search phrase. To go to the required file, double-click on its name.

Hint: if you want to familiarize yourself with several files in the search results, then after performing the first search and opening the first file, you do not need to restart the search – open this panel and immediately go to the “Results” tab – the results found during the last search are stored there…

To search through archives, when specifying search terms, additionally check the “Search in archives” box.

Now full-text search in office files will be performed even for documents placed in archives. The search results will show the names of the archives and the names of the files in those archives that contain the search text.

Full-text search in office files (Word) and archives – now it’s easy!

In the article “Full-text search for documents in a folder” we examined a way to search the contents of many office documents, including the exact match of the phrase. The considered method allows you to find the required file containing the required string without installing additional programs. But the method proposed in that note has disadvantages:

  • search is slow, especially if you search in a folder containing a lot (hundreds) of documents
  • Windows Explorer is used for searching, which is not very convenient by itself and requires additional configuration
  • search through archives is possible, but the set of supported formats is very limited
  • to search for a literal match of a string, you need to remember a complex construction (I am still opening this article to find the desired sequence of characters)

In general, the proposed method is better than nothing, but it is not very convenient.

In this article, I will show you a new way that allows you to search through Word files and all other office files supported by programs from MS Office (in the correct language, in any office XML files).

We need Double Commander. If you are not familiar with this program yet, read the article “Free analogue of Total Commander”, I have no doubt you will love this file manager!

Double Commander supports many archives out of the box, but if you want to get support for any archives that exist, check out the article “How to add the plugin to Double Commander to support all types of archives” (it's not difficult).

So, to perform a full-text search on office files, in Double Commander go to the folder with documents and click the “Search” icon, you can also use the Alt+F7 keyboard shortcut to open the search window.

In the window that opens, check the box “Find text in file” and enter the text you want to find. Be sure to check the “Office XML” checkbox. To limit your search to specific files, you can enter parts of the name in the “File mask” field. When everything is ready, press the “Start” button.

After completing the search, you will see a tab with results, which will list all files containing the search phrase. To go to the required file, double-click on its name.

Hint: if you want to familiarize yourself with several files in the search results, then after performing the first search and opening the first file, you do not need to restart the search – open this panel and immediately go to the “Results” tab – the results found during the last search are stored there…

To search through archives, when specifying search terms, additionally check the “Search in archives” box.

Now full-text search in office files will be performed even for documents placed in archives. The search results will show the names of the archives and the names of the files in those archives that contain the search text.

How to add the plugin to Double Commander to support all types of archives

What archives does Double Commander support?

Double Commander is an excellent open source two-window file manager. If you want to know more details about it, then see the article “Free analogue of Total Commander”.

Double Commander, thanks to built-in plugins, out of the box supports working with the most popular archives: zip, jar, tar, bz2, tbz, gz, tgz, Izma, tlz, xz, txz and zipx.

This is a good set, but in this tutorial I will show you how to add a plugin to Double Commander, thanks to which it will support the following archives (this list also contains virtual disk files and file systems):

	7z:       [7z; ]
	APM:      [apm; ]
	Ar:       [ar a deb lib; ]
	Arj:      [arj; ]
	bzip2:    [bz2 bzip2 tbz2 tbz; * * .tar .tar]
	Cab:      [cab; ]
	Chm:      [chm chi chq chw; ]
	Hxs:      [hxs hxi hxr hxq hxw lit; ]
	Compound: [msi msp doc xls ppt; ]
	Cpio:     [cpio; ]
	CramFS:   [cramfs; ]
	Dmg:      [dmg; ]
	ELF:      [elf; ]
	Ext:      [ext ext2 ext3 ext4 img; ]
	FAT:      [fat img; ]
	FLV:      [flv; ]
	gzip:     [gz gzip tgz tpz; * * .tar .tar]
	GPT:      [gpt mbr; ]
	HFS:      [hfs hfsx; ]
	IHex:     [ihex; ]
	Iso:      [iso img; ]
	Lzh:      [lzh lha; ]
	lzma:     [lzma; ]
	lzma86:   [lzma86; ]
	MachO:    [macho; ]
	MBR:      [mbr; ]
	MsLZ:     [mslz; ]
	Mub:      [mub; ]
	Nsis:     [nsis; ]
	NTFS:     [ntfs img; ]
	PE:       [exe dll sys; ]
	TE:       [te; ]
	Ppmd:     [pmd; ]
	QCOW:     [qcow qcow2 qcow2c; ]
	Rar:      [rar r00; ]
	Rar5:     [rar r00; ]
	Rpm:      [rpm; ]
	Split:    [001; ]
	SquashFS: [squashfs; ]
	SWFc:     [swf; ~.swf]
	SWF:      [swf; ]
	tar:      [tar ova; ]
	Udf:      [udf iso img; ]
	UEFIc:    [scap; ]
	UEFIf:    [uefif; ]
	VDI:      [vdi; ]
	VHD:      [vhd; ]
	VMDK:     [vmdk; ]
	wim:      [wim swm esd; ]
	Xar:      [xar pkg; ]
	xz:       [xz txz; * .tar]
	Z:        [z taz; * .tar]
	zip:      [zip zipx jar xpi odt ods docx xlsx epub; ]

P7z-usr plugin for Double Commander

P7Z Usr is a plugin for Double Commander (DCMD) that provides 7-Zip file archiving functionality.

The plugin is open source and targets Linux platforms. Its main module is P7ZIP, a 7-Zip port for POSIX systems.

For more details on 7-Zip, see the article “Free alternative to WinRAR”.

Plugin for Double Commander that adds 7-Zip compatible archives. Formats: 7z, Udf, VHD, SquashFS, NTFS, Rpm, Chm and others. Based on the 7-Zip and P7ZIP projects.

How to install P7Z Usr on Linux

Installing Debain, Linux Mint, Ubuntu, Kali Linux and their derivatives

It assumes that Double Commander is already installed on your system. If not already, then run the following command:

sudo apt install doublecmd-gtk

For the plugin to work, the p7zip package is required, install it if it is not already on your system:

sudo apt install p7zip-full

Now let's proceed to install the plugin itself.

wget -O p7z_usr.zip https://github.com`curl -s https://github.com/ike9000e/p7z-usr/releases | grep -E -o '/ike9000e/p7z-usr/releases/download/[0-9.v]+/p7z_usr_.*_a64.zip' | head -n 1`
unzip p7z_usr.zip
rm p7z_usr.zip License.txt readme.txt
sudo mkdir /usr/lib/doublecmd/plugins/wcx/p7z_usr
sudo mv p7z_usr.ini p7z_usr.wcx /usr/lib/doublecmd/plugins/wcx/p7z_usr
sudo ln -s /usr/lib/p7zip/7z.so /usr/lib/doublecmd/plugins/wcx/p7z_usr

Installation on Arch Linux, BlackArch, Manjaro and their derivatives

It assumes that Double Commander is already installed on your system. If not already, then run the following command:

sudo pacman -S doublecmd-gtk2

For the plugin to work, the p7zip package is required, install it if it is not already on your system:

sudo pacman -S p7zip

If you have not yet installed the pikaur utility, then install it according to the “Automatic installation and update of AUR packages” article. Then it is enough to execute the command:

pikaur -S doublecmd-plugin-p7z-usr

How to activate P7Z plugin Usr in Double Commander

In Double Commander, in the menu, go to Settings → Options.

Find the Plugins section, go to WCX Plugins: and click the Add button:

Find and add the file located at the path /usr/lib/doublecmd/plugins/wcx/p7z_usr/p7z_usr.wcx

When prompted to enter the file extensions that the plugin should work with, you can enter the following (edit the list to suit your needs):

7z apm ar arj bz2 bzip2 tbz2 tbz tar cab chm chi chq chw hxs hxi hxr hxq hxw lit msi msp doc xls ppt cpio cramfs dmg elf ext ext2 ext3 ext4 img fat flv gz gzip tgz tpz gpt mbr hfs hfsx ihex iso lzh lha lzma lzma86 macho mslz mub nsis ntfs exe dll sys te pmd qcow qcow2 qcow2c rar r00 rpm 001 squashfs swf ova udf scap uefif vdi vhd vmdk wim swm esd xar pkg xz txz z taz zip zipx jar xpi odt ods docx xlsx epub

The previous list includes all supported extensions, this list is shortened by excluding office and some other formats:

7z apm ar arj bz2 bzip2 tbz2 tbz tar cab chi chq chw hxs hxi hxr hxq hxw lit msi msp cpio cramfs dmg elf ext ext2 ext3 ext4 img fat flv gz gzip tgz tpz gpt mbr hfs hfsx ihex iso lzh lha lzma lzma86 macho mslz mub nsis ntfs dll sys te pmd qcow qcow2 qcow2c rar r00 rpm 001 squashfs swf ova udf scap uefif vdi vhd vmdk wim swm esd xar pkg xz txz z taz zip zipx xpi

Plugin added - configure it by clicking the “Tweak” button.

Features and Limitations

P7Z Usr Plugin Features:

  • can view or extract all archives that the 7-zip library can open;
  • configuration via INI file (documentation is supplied with the plugin);
  • must be compatible with P7ZIP library versions P7ZIP> >= 15.09.

P7Z Usr Plugin Limitations:

  • only reading;
  • multi-volume archives are not supported;
  • no file attributes;
  • no Rar5 (only can show files in the archive).

Free analogue of Total Commander

Total Commander is a popular two-panel file manager for the Windows operating system. Managing files in two panels, for example, moving or copying from one folder to another, is much more convenient than in a standard file manager with one panel.

Total Commander has many additional features and capabilities. But this program has one drawback - it is paid. Downloading pirated programs is fraught with infecting your computer with viruses and Trojans (backdoors). Therefore, the best option (if you don't want to pay for a license) is to find a free equivalent.

Double Commander is a free analogue of Total Commander

Double Commander is a free, open source, cross-platform file manager with two panels. The goal of this project is to create a file manager similar in functionality to Total Commander and compatible with its plugins.

If you are a Linux user and are trying to install Total Commander on Linux, then simply select Double Commander, which you will find in the standard repositories of your distribution.

Double Commander is officially free. You will find in it almost all the same functions as in Total Commander.

The program has a huge number of settings:

The appearance of the program can be personalized to suit your taste.

The program supports a variety of file operations:

  • changing file attributes
  • calculating checksums and checking files against checksums
  • batch rename of files
  • compare files by content
  • secure file deletion
  • merging and splitting files
  • archiving and unpacking without installing archivers

The program has a powerful tool for searching files by various characteristics:

And many more different functions and features - download and try it yourself!

Download Double Commander

Double Commander official website, download page: https://sourceforge.net/p/doublecmd/wiki/Download/

There are portable versions (you can try without installation) and regular installation files. There are packages for 32- and 64-bit systems.

The exe and msi installation files are no different in function - choose any of them.

Double Commander does not save settings (RESOLVED)

If you notice that Double Commander does not remember the last opened folders and settings made, then the reason for this is that any program needs administrator rights to write to the C:\Program Files\ folder.

There are two ways out of this situation:

First, you can use the portable version, which will save settings to your own folder without requiring elevated privileges.

Secondly, you can run Double Commander with administrator rights. To do this, right-click on the Double Commander shortcut, select Properties in the context menu that opens:

Go to the “Compatibility” tab and check the “Run this program as administrator” checkbox:

How to select multiple inconsistent files and other tips for selecting files

You may need to select files in order to copy or delete several files at once. To select one file, just click on it with the left mouse button.

How to select all files

To select all files in a folder, go to that directory and press Ctrl+a on your keyboard. This keyboard shortcut works in all file managers.

You can also select the first file, and then press the Shift key and click on the last file, as a result they will all be selected.

How to select multiple consecutive files

If you need to select a range of files, then click on the first of them, and then hold down the Shift key and click on the last in the range that you want to select.

How to select files without using a mouse

Use the cursor keys to select the first file. If the cursor is in another panel, then use the Tab key to switch to the file panel.

Navigate to the first file you want to select.

Press the Shift key.

Without releasing Shift, move the cursor keys to the end of the file list you want to select.

When you reach the file you want, release the Shift key.

How to select multiple inconsistent files

If you select one or more files, and then move to another file and try to select it, then the selection from the first file will be deselected.

To continue selecting any number of files, press the Ctrl key before clicking the mouse. It is not necessary to hold it all the time - most importantly, do not forget to press Ctrl before selecting the next file.

How to deselect files

To deselect files, just click anywhere in the window of your file manager.

Loading...
X