Monthly Archives: February 2015

Format Time of File Modification to use in a Shell Script

$ ls -l --full-time
-rw-------+ 1 AndreasB mkpasswd 5772 2015-02-12 11:35:54.323703100 +0100

$ perl -MPOSIX=strftime -le 'print strftime("%Y%m%d", localtime((stat shift)[9]))'

$ stat
  File: ''
  Size: 5772            Blocks: 8          IO Block: 65536  regular file
Device: 7a51ec0fh/2052189199d   Inode: 12384898975415113  Links: 1
Access: (0600/-rw-------)  Uid: (  400/AndreasB)   Gid: (  401/mkpasswd)
Access: 2015-02-12 11:35:54.323703100 +0100
Modify: 2015-02-12 11:35:54.323703100 +0100
Change: 2015-02-13 14:48:31.352376000 +0100
 Birth: 2014-11-26 17:16:45.173977800 +0100

$ stat -c %y
2015-02-12 11:35:54.323703100 +0100

$ stat -c %x
2015-02-12 11:35:54.323703100 +0100

file date format
HowTo Format Date For Display or Use In a Shell Script


CAD Model Files

  • Lasersaur CAD Models
  • MechParts
  • Mount Panels
  • DriveBoard PCB

Lasersaur Software
BeagleBone Setup

LaserSaur Photos
github: LaserSaur Manual


FabLab Winti: Laser Cutter
HappyLab: Laser Cutter


Lasersaur and is it right for you?


Why Are My Laser Cut Edges Not Straight?
Getting More Power and Cutting Accuracy Out of Your Home Built Laser System

Blackhole 60W Laser
Home Built 40W CNC Laser
Home Built 40W CNC Laser
Home Built 40W CNC Laser

axFord / axCut

axCut DIY laser cutter
github: axFord

GNU sed by Example

Sed by Example, Part 1 – Get to know the powerful UNIX editor
Sed by Example, Part 2 – How to further take advantage of the UNIX text editor
Sed by Example, Part 3 – Taking it to the next level: Data crunching, sed style

Linux: Using sed to insert lines before or after a match
How can I replace text after a specific word using sed?
Remove line containing certain string and the following line


Installing Jenkins on Ubuntu
How To Install and Use Jenkins on Ubuntu 12.04

Security and Resetting User

Disable security
Reset Jenkins Configuration Command Line



C:\Program Files (x86)\Jenkins\jobs\project1\workspace

c:\cygwin\bin\mintty --hold always --exec /cygdrive/c/path/to/bash/

How to make Cygwin the default shell for Jenkins?
Can I use cygwin to script a hudson build step?
Jenkins on windows with cygwin