Page 1 of 1

Apply a filter to command line with -create-filelist

Posted: Fri Oct 02, 2015 3:47 pm
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

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

Posted: Sat Oct 03, 2015 6:37 am
by void
Filters for the -create-filelist command line option is on my TODO list for Everything 1.4.

Thanks for the suggestion.

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

Posted: Tue Dec 18, 2018 8:56 am
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?

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

Posted: Wed Dec 19, 2018 12:06 am
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.

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

Posted: Wed Dec 19, 2018 12:13 am
by void
Here are some examples for using exclude filters when creating a file list from Everything:
/forum/viewtopic.php?t=4824#p17873

Apply a filter to command line with -create-filelist

Posted: Wed Dec 19, 2018 7:07 am
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.

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

Posted: Wed Dec 19, 2018 1:26 pm
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