• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

Command to find and delete all files with any extension (extension) on Windows and Linux

AnonyViet by AnonyViet
January 27, 2023
in Network
0

Yesterday a friend asked AnonyViet how to delete all files with extension *.abcxyz? Suddenly her computer appeared some files with strange extensions? Of course there is, but not deleting by clicking from the file that we will use the command. If you have a case that you want to delete all files with the same extension (extension) aka Extension, we can use cmd on Windows or Terminal on Linux to perform deletion quickly.

Join the channel Telegram of the AnonyViet 👉 Link 👈

In case you encounter files with strange extensions, it may be caused by Viruses or other software. Deleting files to consider is definitely not affecting the operation of the operating system. It is recommended that you back up before following the instructions below.

Command to delete all files with any extension on Windows

This deletion method will delete the file permanently, no longer in the Recycle Bin.

First you need to open cmd (press Windows + CHEAPknock up cmd, Enter).

Access the drive containing the files with the extension you want to delete. For example you see drive D: contains multiple files ending in .abcxyz, type D: and Enter

cmd EASY

Continue typing the command to find and delete files with the extension with the command: del /s /f *.abcxyz(replace abcxyz with the one you want to find and delete). Inside:

  • del: command to delete files in Windows
  • /s: find and delete in subdirectories
  • /f: delete files with attribute Red-Only
  • *. all files with any name. For example, if you just want to delete the file anonyviet.abcxyz, change the sign *. Fort anonyviet.
  • abcxyz: file extension to delete

The results will be listed which directories contain files ending in *.abcxyzand has been removed:

find and delete windows files

Command to delete all files with any extension on Linux

On Linux, AnonyViet also often encounters the error of generating junk files due to using the wrong Plugin. A bad thing when using the wrong function to create webp image files, without deleting the original file, doubles the hard drive space. Therefore, I have to find a solution to delete all files with the extension webp.

Similar to cmd on Windows, Linux has a command prompt named Terimal or you can use Putty to SSH into the command:

find . -name '*.webp' -delete

Inside:

find: command to search in Linux

  • . : represents the current directory. If you want to search from root, replace the sign . sign /
  • -name: search by name, or extension.
  • ‘*.webp’: find all files with any name and ending with webp.
  • -delete: if found, delete it.

find and delete files on linux

With just a basic command line, you can quickly find and delete files with any extension within seconds. Using the command is very useful, you should learn more commands on cmd or linux to support your work.

The article achieved: 5/5 – (100 votes)

Tags: CommanddeleteExtensionfilesFindLinuxWindows
Previous Post

How to fix screen flickering in Windows 11

Next Post

How to convert Text to Speech with no time limit

AnonyViet

AnonyViet

Related Posts

Namecheap offers 3 Domains for alt=
Network

Namecheap offers 3 Domains for $0

October 7, 2025
Proxy vượt Cloudflare là gì? Giải pháp hạn chế Captcha Cloudflare bằng Proxy dân cư
Network

Proxy vượt Cloudflare là gì? Giải pháp hạn chế Captcha Cloudflare bằng Proxy dân cư

October 1, 2025
Renova Cloud – The leading AWS management service in Vietnam today
Network

Renova Cloud – The leading AWS management service in Vietnam today

August 26, 2025
Guide to self -creation socket5 on Ubuntu
Network

Guide to self -creation socket5 on Ubuntu

May 28, 2025
How to create a separate mtproto proxy to use Telegram when blocked
Network

How to create a separate mtproto proxy to use Telegram when blocked

May 25, 2025
Script backup database and website on telegram
Network

Script backup database and website on telegram

May 2, 2025
Next Post
How to convert Text to Speech with no time limit

How to convert Text to Speech with no time limit

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

5+ Prompt creates cinematic Hong Kong style images

5+ Prompt creates cinematic Hong Kong style images

October 11, 2025
Share Beautiful Colored Facebook Biography Characters on Facebook Lite

Share Beautiful Colored Facebook Biography Characters on Facebook Lite

October 11, 2025
Instructions for creating online student cards for schools in Vietnam, America, Japan, and Korea

Instructions for creating online student cards for schools in Vietnam, America, Japan, and Korea

October 10, 2025
Hack Google with Thanos’ Infinity Gauntlet with one click

Hack Google with Thanos’ Infinity Gauntlet with one click

October 10, 2025
5+ Prompt creates cinematic Hong Kong style images

5+ Prompt creates cinematic Hong Kong style images

October 11, 2025
Share Beautiful Colored Facebook Biography Characters on Facebook Lite

Share Beautiful Colored Facebook Biography Characters on Facebook Lite

October 11, 2025
Instructions for creating online student cards for schools in Vietnam, America, Japan, and Korea

Instructions for creating online student cards for schools in Vietnam, America, Japan, and Korea

October 10, 2025
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

5+ Prompt creates cinematic Hong Kong style images

5+ Prompt creates cinematic Hong Kong style images

October 11, 2025
Share Beautiful Colored Facebook Biography Characters on Facebook Lite

Share Beautiful Colored Facebook Biography Characters on Facebook Lite

October 11, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí 8XBET

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí 8XBET

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply