Category: Ubuntu

  • [How To] Delete Files Older Than X Days In Ubuntu

    I use Linode to host my websites. And backing up my files is significant. Linode offers a service called Block Storage that you can use to store your website files backup. The Block Storage can be attached to your Linode server and acts as a directory in your Linode server.

    I use a simple bash script to backup my files automatically every day using a cron job. The files keep accumulating in a directory. And that is a problem since I only need the latest three backups utmost.

    And I found a beautiful solution using ChatGPT to achieve the same.

  • Delete Daily Backups Except The Latest Three

    Daily backups of my blogs are stored in a separate server than the actual web server that hosts all my files. This practice is highly recommended.

    Over a period of time, the backups pile up and occupy a lot of disk space. You can delete all the files except the last three files by running the following command.

    find . -type f -mtime +2 -print0 | sort -z | xargs -r0 rm
  • Ubuntu: Install / Update Zoom

    Ubuntu: Install / Update Zoom

    To install or update Zoom software, first download the Zoom package based on your distro from the Download center. You can then install/update right from your terminal.

    Run the following command from your terminal. Downloaded files are usually saved on to /Downloads folder. Modify the file location if you need to.

    sudo apt install ./Downloads/zoom_amd64.deb

    You can then verify by opening the Zoom application

  • Ubuntu Videos: No PGS Subtitle Decoder

    To get PGS subtitle decoder support, install the following packages.

    https://askubuntu.com/a/1142375/593022