Code: Select all
v14.70.0009 - 2014-12-19 14:25
+++ Find Files and Quick Search: Added switch /p (think "parent") by which the
search will return the parent folders of the matching items.
Examples:
readme.txt /p //return all folders that contain a file readme.txt
green /Lp //return all folders that contain a file labeled "green"
/p //return all folders that are not empty (= that are parents)
Notes:
- The parent switch can be combined with all other switches and all search
filters (Name, Size, Date, Attributes, Tags, Contents, Dupes). It even
works on a tags database search.
Note: On a Dupes search with parent switch you can get duplicate folders
in the list.
- With the exception of a Dupes search, the logic takes care that you get
no duplicate items in the results.
- Tip: To run e.g. a Date-filtered search without any Name filter just
enter the naked parent switch into the Name field and enable the Name
filter:
/p
- This is a pretty cool enhancement! And translators will love it since it
works without a single new word. :)
+ Find Files and Quick Search: Added switch /e (think "empty") by which the
search will return only empty files (empty = zero bytes) and empty folders
(empty = no items contained).
Examples:
a* /e //finds all empty items starting with "a"
a* /ef //finds all empty files starting with "a"
a* /ed //finds all empty folders starting with "a"
+ SC property enhanced: Added argument "#Empty" to return whether a file or
folder is empty or not.
#Empty = Emptiness
Returned bits:
1 = it's a file
2 = it's a folder
4 = it has contents
So, these are the possible results:
0 = item not found
1 = empty file
5 = non-empty file
2 = empty folder
6 = non-empty folder
Examples:
text property("#Empty"); //defaults to current tree or list item
text property("#Empty", "E:\Test\funstuff\goodfellas.jpg");
It can also be used for search (which is the really interesting usage, but
the new switch /e is much easier to use):
prop:#empty:1 //finds all empty files
prop:#empty:2 //finds all empty folders
prop:#empty:5 //finds all non-empty files
prop:#empty:6 //finds all non-empty folders
!prop:#empty:2 //finds items apart from empty folders
:prop:#empty:1 OR 2 //finds all empty files and folders
! Find Files: Searching for labels performed a lazy partial match. Not a
good idea since searching for label "correct" did also match label
"incorrect". Fixed.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.
XYplorer Beta Club