Durchsuchen nach
Kategorie: Bash-Scripting

Fedora 42 Backup script for MongoDB database

Fedora 42 Backup script for MongoDB database

What is the advantage of this script? What is MongoDB? MongoDB is a document-oriented NoSQL database that stores data in flexible, JSON-like documents, allowing for easy storage and retrieval of structured, semi-structured, and unstructured data. Unlike traditional relational databases that use tables and rows, MongoDB uses collections and documents, making it more adaptable to changing data structures. It was designed to handle large volumes of data and is known for its scalability, flexibility, and ease of use. MongoDB is open-source and has a wide range…

Weiterlesen Weiterlesen

Bash script to open a file from the cloud

Bash script to open a file from the cloud

This is a little script that opening a file from Google Drive. I have saved this file in my Google Drive, where I have the warranty that you cannot move unintentionally the file when you have saved it on your desk. In order to request the data from the analytics tool you need in any case an internet connection, then you can also open the file in the cloud. But in the cloud you cannot remember the file name or…

Weiterlesen Weiterlesen

Bash (Linux) script in order to open a file locally

Bash (Linux) script in order to open a file locally

Here is a little Bash script in order to open a file locally. The advantage You only have to save it, once, and it should never change the file location. For my blog statistics, I use the independent analytics tool. It is an easy script. If this does not exist, then opens the find command in order to search for the file, otherwise the LibreOffice program will open. You can combine it with a Bash menu, what I have already…

Weiterlesen Weiterlesen