Updated to v0.5:
- new switch "INDEST", select items in destination instead of source (for SIMILARMETA/JS only)
- missing output fixed for DO versions older than v11.13.1
- new script config "AutoSelect.Actions" to customize on what type of folderchange the autoselection is done
- new features for the FOLDERS switch in combination with RECURSE and PATH
-> depthmin/depthmax to limit results to folders with a specific distance to the source folder
-> subfldmin/subfldmax to limit results to folders with a specific number of subfolders
-> skipsubfld to pre-filter/exclude all (sub)folders for which the subfldmin/max criteria already matched
The new INDEST switch is similar to the native "Select SOURCETODEST=noext", but allows custom rules for determining the items to be selected. This command selects all items in dest, which names are equal up to the 8th digit from the selected items in source.
SelectEx SIMILARMETAJS="return selItem.name.left(8)==item.name.left(8);" INDEST
The new features for the FOLDER switch allow to limit randomly or linearly picked folders by their number of subfolders or distance to the source. This command picks 10 random folders, that do not contain any more subfolders. As the source folder is a music collection, you should get 10 random albums (progress and result verbosly printed to the console in this case).
SelectEx PATH="C:\MyMusic'" RANDOM FOLDERS="subfldmax=0" ITEMCOUNT=10 ECHO RECURSE XLOG=all