Find and delete all files containing a specific word

If you’re like me, you can accumulate thousands of files on your computer (duplicates, renamed or whatever) … keeping track, managing, deleting can become a nightmare. If you have a Linux based computer you can easily manage your files using SSH.

So here’s the solution to find and delete all files containing a specific word within the filename?

Whether it’s a Mac or a Linux Server use an SSH program like Terminal or Putty to access the folder you want to manage your files in.

To find all files with ‘X’ word in filename

e.g. find all files IF they contain the word DELETE in them here is the Linux command:

find . -name \*DELETE\*.* -type f

To find and remove all files with ‘X’ word in filename

e.g. find all files and delete IF they contain the word DELETE in them here is the same Linux command with the remove element added in.

find . -name \*DELETE\*.* -type f -exec rm {} \;

Finding The Right Web Host

It's not surprising that many people have no idea about website hosting and how to go about organise it the right way.  While us 'techie people' think it's as easy as breathing, many are intimidated and quite often get sucked in to spending more than … [Continue reading]

Creative Blog Writing Service

Writing posts for your news or blog section on your web site can be intimidating.  Even if you have and idea for or written your post you may be time poor; or you haven't got the expertise to set it up in your blog (such as Wordpress). Of course … [Continue reading]

Secure Web Hosting

Like all web hosting companies, DISKMANdotNet are always striving to give as much access to the 'good people' out there and at the same time keep all the bad ones out.  Hackers, spammers and general 'no good' doers are always trying to infiltrate web … [Continue reading]

Among Saints

Originally and only published in the Footy Almanac - season 2012 Among Saints Geelong versus St. Kilda 7.50pm, Friday, 21 August 2012 Etihad Stadium, Melbourne "Do you want to come into the rooms and meet the players?" asked Bob the … [Continue reading]

NYC here we come..

It's getting closer to our trip to NYC.. I was going through some songs on my iTunes that are about.. or involve New York City... and came across this one, it's called Washington Square, by Counting Crows... and although it's a bit of a sad song, it … [Continue reading]

Moka Pot Cafe New Web Site

Very happy to announce the brand new web site for Moka Pot Cafe using Wordpress has now been launched! If you're in Melbourne's East (North Balwyn) you should pop in and grab some lunch, coffee or even a beer! Well done Dennis & … [Continue reading]

Paul Stanley on Facebook posts JamesD Photo

As most of you know I've been a KISS fan for most of my life therefore I am so happy and proud that Paul Stanley likes my photo enough to share it with his Facebook followers. To have one of my heroes share my work again has blown me away and to have … [Continue reading]

Eric Singer likes my photo!

It's always a thrill to see my work up in lights, but the ultimate compliment is when one of the stars I shoot uses the photo I take of them in one shape or another.  Recently I've had some really favorable feedback on the quality of my photos. … [Continue reading]

Mad Monday

It's that time of the year for footy!  Footy tipping and fantasy football competitions have been springing up and there's a lot to consider.  If you're a fantasy football team manager then you might need some help creating or managing your team.  The … [Continue reading]