-
Notifications
You must be signed in to change notification settings - Fork 29
FileQueryable
Julien Amsellem edited this page Oct 2, 2017
·
3 revisions
This queryable interface lets you search for predefined categories of files based on file extensions and a little bit more:
-
Roots(): returns the list of drives (C:, D: ...) -
Parent(string parentFolder): search files and folder which are children of the specified folder -
Audio(string search = null): search for audio files (optionally you can specify a string pattern)
aac;ac3;aif;aifc;aiff;au;cda;dts;fla;flac;it;m1a;m2a;m3u;m4a;mid;midi;mka;mod;mp2;mp3;mpa;ogg;ra;rmi;spc;rmi;snd;umx;voc;wav;wma;xm -
Zip(string search = null): search for compressed files (optionally you can specify a string pattern)
7z;ace;arj;bz2;cab;gz;gzip;jar;r00;r01;r02;r03;r04;r05;r06;r07;r08;r09;r10;r11;r12;r13;r14;r15;r16;r17;r18;r19;r20;r21;r22;r23;r24;r25;r26;r27;r28;r29;rar;tar;tgz;z;zip -
Video(string search = null): search for video files (optionally you can specify a string pattern)
3g2;3gp;3gp2;3gpp;amr;amv;asf;avi;bdmv;bik;d2v;divx;drc;dsa;dsm;dss;dsv;evo;f4v;flc;fli;flic;flv;hdmov;ifo;ivf;m1v;m2p;m2t;m2ts;m2v;m4b;m4p;m4v;mkv;mp2v;mp4;mp4v;mpe;mpeg;mpg;mpls;mpv2;mpv4;mov;mts;ogm;ogv;pss;pva;qt;ram;ratdvd;rm;rmm;rmvb;roq;rpm;smil;smk;swf;tp;tpr;ts;vob;vp6;webm;wm;wmp;wmv -
Picture(string search = null): search picture files (optionally you can specify a string pattern)
ani;bmp;gif;ico;jpe;jpeg;jpg;pcx;png;psd;tga;tif;tiff;wmf -
Exe(string search = null): search for executable files (optionally you can specify a string pattern)
bat;cmd;exe;msi;msp;msu;scr -
Document(string search = null): search for document files (optionally you can specify a string pattern)
c;chm;cpp;csv;cxx;doc;docm;docx;dot;dotm;dotx;h;hpp;htm;html;hxx;ini;java;lua;mht;mhtml;odt;pdf;potx;potm;ppam;ppsm;ppsx;pps;ppt;pptm;pptx;rtf;sldm;sldx;thmx;txt;vsd;wpd;wps;wri;xlam;xls;xlsb;xlsm;xlsx;xltm;xltx;xml -
Duplicates(string search = null): search duplicate files (same name but content can be different)
var everything = new Everything();
var results = everything.Search()
.File
.Roots();var everything = new Everything();
var results = everything.Search()
.File
.Parent(@"c:\windows");var everything = new Everything();
var results = everything.Search()
.File
.Document("main");