Attaching a remote drive or directory on a Windows box is called “drive mapping” though the process is essentially the same as what we call mounting in the Unix world. While I rarely spend any ...
Windows: If you download files you only need once or twice and then forget about, you downloads folder can get cluttered. Use this batch file to automatically delete those files on a schedule. Many of ...
In this post, I am going to share steps to create a Zip archive folder using a Batch file in Windows 11/10. For this, I will be doing this with the help of 7-Zip software. 7-Zip is a free and open ...
I only want to keep the newest, say, 4 of each of the files. I can't write a script that just deletes anything older than a certain time from when it runs, as the files don't have consistent ...
Bash functions are essentially reusable wrappers around commands. You can use them to define complex command pipelines or to perform some detailed work and echo the result. They accept arguments and ...