bash

Use find (1) as a quick and dirty duplicate file finder

Run the following two commands in bash to get a listing of all duplicate files (from a directory or location). This can help you clean out duplicate files that sometimes accumulate over time. The first command uses find to print all files (and specific attributes) from a specific location to a file, prefixing the size of the file in the name. This way all files with the same filename and… Read More »Use find (1) as a quick and dirty duplicate file finder

Create a Chrome bookmark html file to import list of URLs

I recently switched RSS providers and I could only extract my saved posts as a list of URLs. So I thought I’d add these to a bookmark folder in Chrome. However, Chrome bookmark import only accepts a specifically formatted .html file. So if you have a file with all your urls, name this file ‘url.txt’ and run this script to create a .html file that you can import in Chrome… Read More »Create a Chrome bookmark html file to import list of URLs