HOW TO DELETE CERTAIN FILES IN CENTOS VPS
January 10, 2016 / by Marco / Categories : Software, TIP AND TRICKSThe easiest way to delete files based on the filename and extension in CentOS VPS is to use the following syntax:
For example, if you want to delete images that has the name businesslegions in it use: find . -name "[part of the file]*.bak" -type f -delete
If you’re a bit hesitant and want to check which files it will delete then use this command (without the -delete): find . -name "businesslegions*.jpg" -type f -delete
Hope this helped as I found this very useful.find . -name "[part of the file]*.bak" -type f
OTHER ARTICLES YOU MAY LIKE
UNLOCKING YOUR FACEBOOK DISABLED ACCOUNT
The article titled “What You Can Do to Unlock a Facebook Disabled Account” provides valuable information on the steps you can take to regain access to your Facebook account if it has been disabled. It begins by explaining the common reasons why Facebook may disable an account, such as violating community guidelines, engaging in suspicious […]
read more5 REASONS WHY ZEN FLOWCHART IS OUR FAVORITE FLOWCHART MAKER
Flowcharts are designed to provide a lot of clarity, improved communication, and problem-solving capabilities – but creating them digitally can always feel a bit like a bit of an uphill battle. Unless of course you are using Zen Flowchart. Designed from the ground up to be the best flowchart maker on the planet today, you’ll […]
read more