Linux: Constantly rsync two directories.
Assume you have two directories that needs to be constantly synced, not just every one minute by using a cronjob but as soon as possible…
cat linux-constantly-rsync-two-directories.md →# Linux, Devops, Scripting, Cats and various things come to my mind
// also on this box: ./practice, ./tools and ./games
Assume you have two directories that needs to be constantly synced, not just every one minute by using a cronjob but as soon as possible…
cat linux-constantly-rsync-two-directories.md →Assume that you have a lot of RAM that you don't need but your storage devices are quite slow. At the same time, you have a program that…
cat linux-create-a-ram-disk-to-speed-up-your-i-o-file-operations.md →We all know and love cronjobs, cronjobs allows us to execute a command or a script in the future. It can be tedious boring and error prone…
cat linux-add-cronjob-using-a-bash-script.md →sed is one of the best tools to replace text in files! it's very easy and super versatile, lets see some simple examples!
cat linux-substitute-text-with-sed.md →We all know pipes, pipes are used to transfer data from one process output to another process input, but this concept is limited to…
cat netcat-pipe-commands-over-network.md →named pipes or fifo queues are essentially a file where a process can write its output and another process read its input, you might now…
cat linux-named-pipes-and-why-they-are-super-useful.md →Backups is something you usually dont think a lot but is essential in case of a failure or a server crash; there are many solutions to deal…
cat linux-take-backups-using-rsnapshot-the-easy-way-plus-a-restore-example.md →Assume the following scenario! you need quickly to share files with users, but you don't have the time to set a mechanism that will…
cat python-create-a-web-server-to-share-files-in-just-one-line.md →Recently i came across a legacy bash script that worked fine; its job is to find files in a directory and sftp them. The script was quite…
cat linux-parallel-sftp-transfers-using-a-simple-one-liner.md →In this example we will see how you can use docker to containerize your Flask application, Redis server and Nginx.
cat flask-redis-and-nginx-dockerize-them.md →