Browse Source

Fixed an important detail. Other minor fixes.

dev
Franco Masotti 4 years ago
parent
commit
ca65cd3cc3
  1. 9
      _posts/2018-10-02-automatic-removable-media-synchronization.md

9
_posts/2018-10-02-automatic-removable-media-synchronization.md

@ -1,7 +1,7 @@
---
title: Automatic synchronization of media files from SD cards
tags: [sync, rsync, media, files, automatic]
updated: 2018-10-02 12:00
updated: 2018-10-17 23:36
description: Automatic synchronization of media files from a removable block device such as an SD card
---
@ -101,9 +101,9 @@ gist](https://gist.github.com/jvhaarst/2343281) which was put
in the public domain.
```shell
#!/bin/sh
#!/bin/bash
# auto_media_backup .sh
# auto_media_backup.sh
#
# Copyright (C) 2018 Franco Masotti <franco.masotti@live.com>.
# Permission is granted to copy, distribute and/or modify this document
@ -113,12 +113,15 @@ in the public domain.
# A copy of the license is included in the section entitled "GNU
# Free Documentation License".
# Put the full path if you are calling the script from a different directory.
. ./auto_media_backup.conf
# Check that all the software is installed.
# All the tools used in this script should be pretty standard.
check_tools()
{
which \
bash \
mail \
lsblk \
grep \

Loading…
Cancel
Save