HOW TO DELETE CERTAIN FILES IN CENTOS VPS

January 10, 2016   /   by Marco  / Categories :  Software, TIP AND TRICKS
HOW TO DELETE CERTAIN FILES IN CENTOS VPS

The easiest way to delete files based on the filename and extension in CentOS VPS is to use the following syntax: [codesyntax lang="php"]

[/codesyntax] For example, if you want to delete images that has the name businesslegions in it use: [codesyntax lang="php"]

[/codesyntax] If you’re a bit hesitant and want to check which files it will delete then use this command (without the -delete): [codesyntax lang="php"]

[/codesyntax] How to delete certain files in CentOS VPS Hope this helped as I found this very useful.

DO YOU LIKE WHAT YOU'VE READ?
Join our subscription list and receive our content right in your mailbox. If you like to receive some Great deals our Freebies then subscribe now!

Our Sponsors

  • Follow us:

OTHER ARTICLES YOU MAY LIKE


How To Create a Firefox Offline Mode Batch File

For those of you who don’t know, Firefox has an OFFLINE mode where you can use this to display cached content if the website is down. I’ve managed to create a little batch file that checks whether the website is down and then it loads the OFFLINE website (note you must have previously visited the […]

read more
HOW TO FIX: LOW DISK SPACE ERROR MESSAGE AFTER WINDOWS 10 UPDATE

HOW TO FIX: LOW DISK SPACE ERROR MESSAGE AFTER WINDOWS 10 UPDATE

I recently had to perform a Windows 10 Update (had no choice). After the update I kept on getting this error message: Low Disk Space You are running out of disk space on Local Disk (D:). Click here to see if you can free space on this drive. This new drive didn’t exist before the […]

read more

Subscribe

Receive the latest news and awesome deals via email

Like our Page

Social Wall Social Wall