Skip to content

David Costello

dmcostello.com

  • Home
  • About
  • Articles
    • Internet
    • Programming
    • Uncategorised
  • Projects
  • Resources
    • Downloads
    • Links
  • Contact

Command Line

Code Scraps: Get a list of all content in a directory on Windows

25th July 201712th September 2017 @davidcostello42

I recently posted a code scrap for getting all content of a directory in Linux. Here is the same code scrap but for Windows. C:\TestDir\> dir /b /s > C:\temp\files.txt […]

 Computing, Programming  Batch Scripts, Command Line, Data, Data Formatting, Poweshell, Windows  1 Comment

Code Scraps: Command Line manual logging

4th July 201720th July 2017 @davidcostello42

I have a collection of eBooks that I’ve bought over the years, and thanks to sites like HumbleBundle, my collection is growing on a fairly regular basis. I keep them […]

 Code Scraps, Computing, Programming  Batch Scripts, Command Line, Entertainment, Programming, Security  Leave a comment

Forgotten your MySQL root password? No problem!

6th May 201715th September 2017 @davidcostello42

I recently forgot the root password to a MySQL instance on one of my machines. Follow this quick and easy guide for whenever this happens to you. Stop MySQL sudo […]

 Programming, Security  Command Line, MySQL, Programming, Security, SQL  Leave a comment

Raspberry Pi – Setup steps

14th February 20178th September 2017 @davidcostello42

This is a quick guide for getting a Raspberry Pi with Raspbian up and running. This article is aimed at those with some technical experience of the Unix Shell and […]

 Computing  Command Line, Learning, Linux, Raspberry Pi  Leave a comment

Basic configuration for iptables (suitable for Raspberry Pi)

25th September 201615th September 2017 @davidcostello42

This is just a quick post for my own personal benefit to remind me what commands to use when setting up iptables rules. If you want to configure a firewall […]

 Programming, Security  Command Line, Firewall, Linux, Raspberry Pi  4 Comments

ZipSubs; A command-line utility for compressing sub-folders in a directory.

29th June 201415th September 2017 @davidcostello42

Automatically create Zip Files of all sub-directories from the command line using 7-Zip This code shim explains how to create a batch script that will let you automatically create zip […]

 Programming  Batch Scripts, Command Line, Programming, Windows, Zip  Leave a comment

GetSize; A command-line utility for recursively getting directory size.

29th June 201415th September 2017 @davidcostello42

Easily retrieve the file size of a directory and all files and sub-directories using Powershell This code shim explains how to create a quick little Batch Script that will utilise […]

 Programming  Batch Scripts, Command Line, Poweshell, Programming, Windows  Leave a comment

Posts navigation

Newer posts →

Search

Archives

  • January 2021
  • October 2020
  • March 2019
  • January 2019
  • December 2018
  • October 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • March 2017
  • February 2017
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • June 2014
Proudly powered by WordPress | Theme: Moesia by aThemes