Move only queried files in and with the folder(tree) they are in

Off-topic posts of interest to the "Everything" community.
Post Reply
kazzybash
Posts: 98
Joined: Mon Mar 02, 2020 9:55 pm

Move only queried files in and with the folder(tree) they are in

Post by kazzybash »

Hi folks,

is there a way to move files that have come up in a query to another location in their respective folders (and also the foldertree those folders are in)?

Put differently: how to move a selection of files that are scattered over folders (that are scattered over a foldertree) leaving the foldertree intact (but copying only the folders that contain queried files)?

Thanks in advance. Kind regards, kazzy
void
Developer
Posts: 15353
Joined: Fri Oct 16, 2009 11:31 pm

Re: Move only queried files in and with the folder(tree) they are in

Post by void »

Without knowing exactly what your folder tree looks like, please try the following:

To move files/folders while preserving the folder tree:
  • Select your files.
  • From the Edit menu, under the Advanced submenu, click Advanced Move to folder.
  • Check Regular expressions.
  • Change the Old format to: ^([^\\]*)\\(.*)$
  • Change the New format to: c:\\new folder\\\2
    Adjust c:\new folder as needed.
  • Review the new filenames and click OK.
kazzybash
Posts: 98
Joined: Mon Mar 02, 2020 9:55 pm

Re: Move only queried files in and with the folder(tree) they are in

Post by kazzybash »

thanks a lot David!
Post Reply