How or can you choose multiple files automatically with sorting parameters

Averett 0 Reputation points
2024-06-23T17:47:02.44+00:00

I have over 600 files that i need to sort, all of them have "thumb" in name it looks like this "123example_thumb", so is there a way of choosing/removing files that have "thumb" in them?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,702 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
2,172 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MotoX80 34,346 Reputation points
    2024-06-23T21:44:18.6+00:00

    What specifically do you want to do with these files? Delete them? Move them somewhere else?

    With a large number of files, it might be easier with Powershell.

    cd c:\Your\Data\Folder
    Get-ChildItem *thumb* | Sort-Object -Property Name
    Get-ChildItem *thumb* | Sort-Object -Property Name -Descending
    Get-ChildItem *thumb* | Sort-Object -Property LastWriteTime
    Get-ChildItem *thumb* | Remove-Item -whatif
    
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.