
See the previous example and download this program to see all of the details. The program then passes the option into the call to GetFiles so that method can search either the subdirectories if appropriate. I am not necessarily looking for xyplorer in Linux ( unless it exist :) ) but some good options to look at.

In xyplorer I really like: filters and power filters, multi-tabs, scripting.
Xyplorer regex rename code#
Then if the All Directories radio button is checked, the code changes the option to AllDirectories. I find most of the GUI file browsers that I have come across pretty limited on options. The program sets the variable option to TopDirectoryOnly. The code highlighted in blue shows the changes. Regex regex = new Regex(txtOldPattern.Text)
Xyplorer regex rename full#
The full program is 29.95 for advanced and 49.95 for max power. However it is very light on features, and will display a prompt if a feature is selected that isn't available in the Lite version. If (radAllDirectories.Checked) option = SearchOption.AllDirectories įileInfo files = dir_info.GetFiles(txtFilePattern.Text, option) A free version of the program is available, xplorer lite. or a regular expression with Regex: (for example. SearchOption option = SearchOption.TopDirectoryOnly Using the Customize window, you will be able, if you wish, to rename this menu, move it or break up. Get the files that match the pattern and date range.ĭirectoryInfo dir_info = new DirectoryInfo(txtDirectory.Text) When it lists the files that it will update, this version of the program uses the following code. This version only makes one small change to let you search recursively through a directory hierarchy. If that doesn't suit you, our users have ranked more than 50 alternatives to XYplorer and loads of them is available for Windows.

The best Windows alternative is Double Commander, which is both free and Open Source. The earlier versions of this program only searched a single directory. There are many alternatives to XYplorer for Windows if you are looking for a replacement. This post describes the changes from that version. See the previous example for most of the details. This example extends the example Use regular expressions to rename files within a date range and that match a pattern in C# to let you rename files that match a pattern and that were modified within a date range.
