Closed:Delete all files with a pattern.
0
0
Entering edit mode
5.7 years ago
Saroha • 0

I have thousands of txt files in one folder. Many of them are unnecessary for me. I want to delete all unnecessary files at once. If I do this manually (by opening every file, see it's content and delete it) it will require a lot of time and efforts. But I have some patterns (some words) (words are the content of the file, not the name of the file) that unnecessary files have. My required files do not have these patterns. So unnecessary files can be filtered and deleted using these patterns.

I have attached 2 screenshots of unnecessary files for better understanding. Highlighted word can be used as pattern. Highlighted word can be used as pattern... Highlighted word can be used as pattern...

file pattern delete • 50 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2976 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6