Other articles


  1. A nifty find one liner

    What this does

    This find command finds and moves all directories to /dest/dir that matches the 'dirnamepattern'.

    'dirnamepattern' could be aws, go or tmp, or whatever.

    Actual command

    find . -type d -name '*dirnamepattern*' -exec mv -t /dest/dir {} +
    

    Test before try

    I'm not sure if there's a dry run …

    read more
  2. Debian Jessie(8) end of life

    Special release

    Jessie was my first version of Debian I've installed on my acer laptop back in 2015.

    Nowadays, all my things run Buster, but it's still awful to think how fast time goes and Debian releases come and go.

    Related link

    I just saw today this debian news page …

    read more
  3. pgrep

    Pgrep

    I've got a few shell scripts in a private repo and I recently wrote another to kill my vlc instances because it seems to hang up sometimes on Debian 10 when playing files from my junk hp microserver.

    So I wrote something idiotic like this to kill vlc:

    kill …
    read more
  4. Recent things

    What's been going

    I haven't posted in 2 months, as I was focusing on work.

    In the meantime, I was focusing on maintaining my private code repos and thinking about ways of what I could improve in my public and private projects.

    What I'm going to do

    I've got nothing …

    read more
  5. Simple ansible logrotate script

    Ansible logs

    Ansible logs details of playbooks runs into files defined with the:

    log_path = /path/text.log
    

    variable if defined in the ansible.cfg file.

    For my simple personal use cases, I turned logging on and for a while did nothing with the logfile.

    After several months, the first log …

    read more

Page 1 / 3 »

links

social