Batch files to delete files older than N days

I'm looking for a way to delete all files in the batch file that are older than 7 days. I searched the Internet and found some examples that contained hundreds of lines of code, and others that required additional command-line utilities to complete the task. Just a few lines of code At BASH in complete Similar operation. It seems that you c ...

Posted on Fri, 27 Dec 2019 01:56:09 -0800 by zxiny_chin

Ruby 2.x source code learning: threads

Preface Ruby implements thread concepts using pthread thread Libraries The source code involved in this article is: vm.c thread.c thread_pthread.c (linux/unix platform) Thread class Reference resources Ruby 2.x source code learning: bootstrap In this article, the Ruby interpreter calls a series of Init_XXX functions at bootstrap stage. The tw ...

Posted on Sat, 06 Apr 2019 17:33:30 -0700 by bluethundr

Resize a Hard Disk for a Virtual Machine

Varant box "centos mini version" disk space is 8GB, completely insufficient, found on the Internet "adjust the size of the virtual machine's hard disk" information, now extended 192.168.2.207 to 100G. Some assumptions You use Cygwin or Linux command line terminals on your host The VirtualBox installation path is in your Win ...

Posted on Sat, 29 Dec 2018 10:42:07 -0800 by geo115fr