Hi all,
I have been clearing out our server of old folders and their contents, but now I need to be able to delete just the contents inside of folders that Everything finds.
Is it possible to get Everything to search for a folder (ie. named Temp), but just list the files in that folder, and not the folder itself? (usually just a jpg of tif)
Then hopefully I should be able to delete all the files that have been found whilst leaving the Main folder intact.
Thanks for any pointers!
Finding files in certain folders
-
NotNull
- Posts: 5961
- Joined: Wed May 24, 2017 9:22 pm
Re: Finding files in certain folders
If you want just the contents of a folder, you could add a "\" at the end of the foldername, like:
If you also don't want to see subfolders in C:\MyFolder, try:
That way you get just the files.
If your foldername contains spaces, put the complete path between double quotes: file: "c:\My Folder"
Code: Select all
c:\MyFolder\Code: Select all
file: c:\MyFolderIf your foldername contains spaces, put the complete path between double quotes: file: "c:\My Folder"
-
nufu
- Posts: 2
- Joined: Mon Oct 16, 2017 4:27 pm
Re: Finding files in certain folders
Perfect, thanks!
-
Stamimail
- Posts: 1122
- Joined: Sat Aug 31, 2013 9:05 pm
Re: Finding files in certain folders
Search for files and folders in the specified path, excluding subfolders:If you also don't want to see subfolders
parent:<path>
infolder:<path>
nosubfolders:<path>