Skip to main content
GrN.dk

Main navigation

  • 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, 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
By Greg Nowak, 14 March, 2015

Gregs IT and Logistics Optimization

Freelance
I get my hands dirty with operational IT and also work in the sphere between IT and business as a business consultant. My primary skill is to understand the business and convert that knowledge to simple optimized IT solutions and implement them. I have successfully implemented many pilot projects with business models created with web applications, Linux/Bash scripts, Python scripts, R-project scripts, and Excel/VBA models. Learn more on my page with services - for instance Excel Freelancer. Feel free to check out my CV too!

bash

Review Greg on Google

Greg Nowak Google Reviews

 

  • About Greg Nowak
  • Services
  • Running Linux on T450s T495s T14, Thinkpads and Others
  • Sending Mails From A Linux Server
  • Gregs IT and Logistics Optimization
More
RSS feed

GrN.dk web platforms, web optimization, data analysis, data handling - CSV files, spreadsheets Excel, and logistics.