Apply a filter to command line with -create-filelist

Have a suggestion for "Everything"? Please post it here.
Post Reply
dam012345
Posts: 2
Joined: Sun Feb 09, 2014 4:52 pm

Apply a filter to command line with -create-filelist

Post by dam012345 »

Hello,

And thanks for this great software.

Is it possible to implement a "-filter" option when "-create-filelist" is used ?

For example i would have an output file from a server share with only PDF file that are named with the word "attestation"
Everything.exe -create-filelist "output.efu" "\\server\share" -filter "*attestation*.pdf"

=> this it to create automation tasks

Regards
void
Developer
Posts: 15096
Joined: Fri Oct 16, 2009 11:31 pm

Re: Apply a filter to command line with -create-filelist

Post by void »

Filters for the -create-filelist command line option is on my TODO list for Everything 1.4.

Thanks for the suggestion.
T.H.Schmidt
Posts: 2
Joined: Tue Dec 18, 2018 8:38 am

Re: Apply a filter to command line with -create-filelist

Post by T.H.Schmidt »

I also would like to be able to use filters when creating an EFU file, like this
C:\> Everything.exe -filter FILTERNAME -create-filelist FILTERNAME.efu "C:\"

It was on your ToDo list for 1.4 (back in 2015), see above.
Can you please tell the current status?
therube
Posts: 4580
Joined: Thu Sep 03, 2009 6:48 pm

Re: Apply a filter to command line with -create-filelist

Post by therube »

Does that not work?

Code: Select all

everything  -filter audio  -create-filelist AUDIO.EFU  M:
Seems to have a list of my audio files :-).
No, it does not work.
void
Developer
Posts: 15096
Joined: Fri Oct 16, 2009 11:31 pm

Re: Apply a filter to command line with -create-filelist

Post by void »

Here are some examples for using exclude filters when creating a file list from Everything:
/forum/viewtopic.php?t=4824#p17873
T.H.Schmidt
Posts: 2
Joined: Tue Dec 18, 2018 8:38 am

Apply a filter to command line with -create-filelist

Post by T.H.Schmidt »

I'm trying to create a new filtered file list using a batch file, so
to create a file list of all files with -create-file-list, open the list in Everything, set a search to filter the desired results and then export a new file list
does not meet my requirement.
I've created a complex filter for Everything that includes recent changes to various project files I'm working on (about 20,000 files).
I would like to be able to automatically write a new file list from this filter several times a day and backup all new and modified files.
therube
Posts: 4580
Joined: Thu Sep 03, 2009 6:48 pm

Re: Apply a filter to command line with -create-filelist

Post by therube »

So what, the -filter argument only sets the specified filter in the GUI, but does not get applied to the exported filelist?


And with:
> Everything.exe -create-file-list "myfilelist.efu" "c:\" -create-file-list-include-only-files "*.mp3;*.flac"

That also includes directories, so how do you exclude all directories?

> -create-file-list-exclude-folders

*, gives you an "empty" .efu.
*.*, leaves directories that don't have an "extension" (C:\TMP\)


Note that ES (command line) can do something like:
> ES ext:flac;mp3 -export-efu audio.efu
Post Reply