Skip to main content
GrN.dk

Main navigation

  • Articles
  • Contact
  • Your Digital Project Manager
  • About Greg Nowak
  • Services
  • Portfolio
  • Container
    • Excel Freelancer
    • Kubuntu - tips and tricks
    • Linux Apache MySQL and PHP
    • News
    • Image Gallery
User account menu
  • Log in

Breadcrumb

  1. Home

bash

By Greg Nowak, 10 February, 2022

Delete Files and Folders Older Than X days

find /[FOLDER_NAME]/* -mtime +[OLDER_THAN_DAYS] -exec rm -rf {} \;

Example deletes all files and folders in tmp folder that are older than 180 days: find /tmp/* -mtime +180 -exec rm -rf {} \;

Tags

  • bash
  • Script
  • Linux
By Greg Nowak, 5 November, 2021

Cloudflare API for DNS Automation

Practical Cloudflare API guidance for safer DNS automation, BIND zone imports, and repeatable bash workflows using current token-based authentication.

Tags

  • Cloudflare
  • DNS
  • API
  • Automation
  • bash
By Greg Nowak, 4 June, 2020

Converting PNG to SVG

In a lot of cases it is useful to convert bitmaps like jpg, png to vector graphics like SVG or AI.

Inkscape -> Path -> Trace Bitmap

BASH

convert file.png file.pnm
potrace file.pnm -s -o file.svg

Tags

  • bash
  • Script
  • graphics
bash

Review Greg on Google

Greg Nowak Google Reviews

 

  • Public Staging URLs and Admin Panels Are Still an Ops Leak, and Cloudflare Access Is a Paid Cleanup Job
  • WordPress 6.8 Password Hashing Makes Legacy Login Bridges a Paid Troubleshooting Problem
  • WooCommerce HPOS Migration Is Now an Ops Project for Stores With Plugin and Reporting Debt
  • Bulk Delete Cloudflare DNS Records: Better Than Chrome Browser Console JavaScript
  • Search Console's Hourly Data Made Post-Launch SEO Monitoring an Ops Task
RSS feed

GrN.dk web platforms, web optimization, data analysis, data handling and logistics.