How to create one file list .efu with multiple directories

General discussion related to "Everything".
Post Reply
Yin542276
Posts: 4
Joined: Wed Jun 09, 2021 10:27 pm

How to create one file list .efu with multiple directories

Post by Yin542276 »

Hello.

Thanks for creating this wonderful software, I've been using it extensively.

I was wondering how does one go about creating one .efu file list with multiple directories? I tried different ways myself, but none of them worked.

Example:
-create-filelist "Z:\Eyes\Noses\Head\Face.efu" "U:\Football"

Let's say I have folders like "Baseball" and "cricket" would the command be:
-create-filelist "Z:\Eyes\Noses\Head\Face.efu" "U:\Football" "U:\baseball" "U:\cricket"

I tried comma and semicolon, but it didn't work :P
void
Developer
Posts: 17149
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to create one file list .efu with multiple directories

Post by void »

The -create-filelist command line is quite limited and can only create a file list from a single folder (and subfolders).



For more control, please try the File List Editor under the Tools menu.

Drag and drop folders onto the File List Editor to build a file list with multiple directories.
-or-
Add folders from the File List Editor -> Edit -> Add Folder....

I will consider an option to add multiple folders with -create-filelist
Thanks for the suggestion.


Use ES (the command line interface for Everything) to create a file list from your Everything index:

ES.exe -export-efu "Z:\Eyes\Noses\Head\Face.efu" "U:\Football\" ^| "U:\baseball\" ^| "U:\cricket\"

Note: Use ^| to escape a single literal |
Yin542276
Posts: 4
Joined: Wed Jun 09, 2021 10:27 pm

Re: How to create one file list .efu with multiple directories

Post by Yin542276 »

Thanks I will try and do that :)
NotNull
Posts: 5517
Joined: Wed May 24, 2017 9:22 pm

Re: How to create one file list .efu with multiple directories

Post by NotNull »

For other people finding this thread through a forum search, a couple more options:
  • In Everything, search for "U:\Football\" | "U:\baseball\" | "U:\cricket\"
    Export the results. Menu:File > Export > Save as type = EFU Everything File List
  • Instead of escaping the | characters with a ^, you can also enclose the entire search in 3 double-quotes:

    Code: Select all

    ES.exe -export-efu "Z:\Eyes\Noses\Head\Face.efu"   """  "U:\Football\" | "U:\baseball\" | "U:\cricket\"  """
(I hope you don't suffer from overchoice ;))
Yin542276
Posts: 4
Joined: Wed Jun 09, 2021 10:27 pm

Re: How to create one file list .efu with multiple directories

Post by Yin542276 »

NotNull wrote: Thu Jun 10, 2021 12:42 pm (I hope you don't suffer from overchoice ;))
I do! And having a software called Everything does not help :D The overchoice application.
void
Developer
Posts: 17149
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to create one file list .efu with multiple directories

Post by void »

Everything 1.5.0.1384a adds support for multiple paths when using -create-file-list.

Use a semicolon (;) delimited list to specify multiple paths.

For example:

Everything.exe -create-file-list "my file list.efu" C:;D:\Downloads;E:\Backup;"F:\Program files"
Yin542276
Posts: 4
Joined: Wed Jun 09, 2021 10:27 pm

Re: How to create one file list .efu with multiple directories

Post by Yin542276 »

Thank you!
Post Reply